Default platform to ios

This commit is contained in:
Max Lynch
2015-06-01 16:33:49 -05:00
parent 8b36983277
commit add20aca9c
3 changed files with 14 additions and 8 deletions

View File

@ -32,6 +32,10 @@ class PlatformController {
registry[platform.name] = platform;
}
getPlatform(name) {
return registry[name];
}
set(platform) {
activePlatform = platform;
@ -92,7 +96,7 @@ Platform.register({
// Last case is a catch-all
Platform.setDefault({
name: 'core'
name: 'ios'
});
Platform.set( Platform.detect() );
Platform.set( Platform.get('ios') );//Platform.detect() );