mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
18 lines
317 B
JavaScript
18 lines
317 B
JavaScript
|
|
(function(){
|
|
|
|
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'));
|
|
}
|
|
|
|
})();
|