remove init.js, users must explicitly call System.import

This commit is contained in:
Tim Lancina
2015-08-06 13:26:35 -05:00
parent 64e6fb3d5f
commit 9cf986eefc
3 changed files with 3 additions and 21 deletions

View File

@ -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);