mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 11:41:20 +08:00
remove init.js, users must explicitly call System.import
This commit is contained in:
@ -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);
|
Reference in New Issue
Block a user