Skip to content

Commit

Permalink
fix buildcomponent
Browse files Browse the repository at this point in the history
  • Loading branch information
Quickcorp committed May 9, 2018
1 parent b6fc6e1 commit d849f2e
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 @@ -875,8 +875,8 @@
data:data,
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 (){
_buildComponent(this.body.querySelectorAll('component'));
newComponent.done = function (request,newC){
_buildComponent(newC.body.querySelectorAll('component:not([loaded])'));
};
components[_c].append(newComponent);
components[_c].setAttribute('loaded',true);
Expand Down

0 comments on commit d849f2e

Please sign in to comment.