mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 11:41:20 +08:00
Default platform to ios
This commit is contained in:
@ -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() );
|
||||
|
Reference in New Issue
Block a user