diff --git a/gulpfile.js b/gulpfile.js index 87ad370542..21fa7ff401 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -39,7 +39,6 @@ var tscOptions = { target: 'ES6', allowNonTsExtensions: true, isolatedModules: true, - //declaration: true, //generate d.ts files emitDecoratorMetadata: true, experimentalDecorators: true, noEmitOnError: false, // ignore errors @@ -123,7 +122,6 @@ function transpile(moduleType) { 'ionic/**/*.js', '!ionic/components/*/test/**/*', '!ionic/util/hairline.js', - '!ionic/init.js', '!ionic/util/test/*' ]) .pipe(cache('transpile', { optimizeMemory: true })) @@ -147,7 +145,7 @@ gulp.task('transpile.common', function() { return transpile("common"); }); gulp.task('transpile', ['transpile.system']); gulp.task('bundle.js', function() { - return gulp.src(['dist/js/es5/system/ionic/**/*.js', 'ionic/util/hairline.js', 'ionic/init.js']) + return gulp.src(['dist/js/es5/system/ionic/**/*.js', 'ionic/util/hairline.js']) .pipe(concat('ionic.bundle.js')) .pipe(gulp.dest('dist/js/')); }); diff --git a/ionic/init.js b/ionic/init.js deleted file mode 100644 index 40f5ffbd5b..0000000000 --- a/ionic/init.js +++ /dev/null @@ -1,17 +0,0 @@ - -(function(document){ - - var ionicImport = System.import('ionic/components/app/app'); - - function importApp(module) { - if (module) { - System.import(module); - } - } - - var ele = document.querySelectorAll('[module]'); - for (var i = 0; i < ele.length; i++) { - importApp(ele[i].getAttribute('module')); - } - -})(document); diff --git a/scripts/e2e/e2e.template.html b/scripts/e2e/e2e.template.html index 98b5401f50..cb4079d055 100644 --- a/scripts/e2e/e2e.template.html +++ b/scripts/e2e/e2e.template.html @@ -35,7 +35,7 @@
-