Skip to content

Commit

Permalink
feat(aurelia): update to use composition host instruction value
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed May 10, 2015
1 parent 9a877de commit bd456bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aurelia.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,13 +202,13 @@ export class Aurelia {
}

this.host.aurelia = this;
this.container.registerInstance(Element, this.host);

compositionEngine = this.container.get(CompositionEngine);
instruction.viewModel = root;
instruction.container = instruction.childContainer = this.container;
instruction.viewSlot = new ViewSlot(this.host, true);
instruction.viewSlot.transformChildNodesIntoView();
instruction.host = this.host;

return compositionEngine.compose(instruction).then(root => {
this.root = root;
Expand Down

0 comments on commit bd456bc

Please sign in to comment.