Skip to content

Commit

Permalink
change using asyncLoad for Ready to load init components
Browse files Browse the repository at this point in the history
  • Loading branch information
Quickcorp committed Mar 10, 2018
1 parent 09ce2f4 commit c1a00cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions QCObjects.js
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@
/**
* Load every component tag declared in the body
**/
asyncLoad(function (){
Ready(function (){
var components = document.querySelectorAll('component');
for (var _c = 0;_c<components.length;_c++){
Class('ComponentBody',Component,{
Expand All @@ -734,7 +734,7 @@
});
components[_c].append(newComponent);
}
},null);
});

/*
Public variables and functions
Expand Down

0 comments on commit c1a00cc

Please sign in to comment.