From 78cef618b80f2e7e96998b444ee8edd92cef89d9 Mon Sep 17 00:00:00 2001 From: Andrew Joslin Date: Wed, 18 Mar 2015 09:24:52 -0500 Subject: [PATCH] ion: use a for loop --- src/components/ion.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/ion.js b/src/components/ion.js index 9ace4640fb..d835224002 100644 --- a/src/components/ion.js +++ b/src/components/ion.js @@ -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); + } } }