mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
ion: use a for loop
This commit is contained in:
@@ -7,9 +7,9 @@ export class Ion {
|
||||
var platformName = Platform.getPlatform();
|
||||
var platformConfig = this.$config._platforms[platformName];
|
||||
if (platformConfig) {
|
||||
platformConfig._mixins.forEach(mixin => {
|
||||
mixin(this);
|
||||
});
|
||||
for (var i = 0, ii = platformConfig._mixins.length; i < ii; i++)
|
||||
platformConfig._mixins[i](this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user