Skip to content

Commit

Permalink
fixing component load
Browse files Browse the repository at this point in the history
  • Loading branch information
Quickcorp committed May 10, 2018
1 parent 1b5f19f commit 4055ab3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QCObjects.js
Original file line number Diff line number Diff line change
Expand Up @@ -898,9 +898,9 @@
templateURI:'{{COMPONENTS_BASE_PATH}}{{COMPONENT_NAME}}.html'.replace('{{COMPONENT_NAME}}',components[_c].getAttribute('name').toString()).replace('{{COMPONENTS_BASE_PATH}}',CONFIG.get('componentsBasePath'))
});
newComponent.done = function (){
components[_c].innerHTML=this.body.innerHTML;
_buildComponent(this.body.querySelectorAll('component:not([loaded])'));
};
components[_c].innerHTML=newComponent.body.innerHTML;

}
components[_c].setAttribute('loaded',true);
Expand Down

0 comments on commit 4055ab3

Please sign in to comment.