back-button: use updated config

This commit is contained in:
Andrew
2015-03-31 12:27:34 -06:00
parent 4ba305305f
commit 4699ef5ff8
4 changed files with 50 additions and 31 deletions

View File

@ -44,7 +44,7 @@ class PlatformController {
detect() {
for (let name in this.registry) {
if (this.registry[name].matcher()) {
return platform
return this.registry[name]
}
}
return this.defaultPlatform
@ -74,7 +74,7 @@ platform.register({
// Last case is a catch-all
platform.setDefaultPlatform({
name: 'default'
name: 'base'
})
platform.set( platform.detect() )