Skip to content

Commit

Permalink
feat(aurelia): configure host as root dom boundary
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Jul 22, 2015
1 parent 04cadc5 commit 5a99ab0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/aurelia.js
Expand Up @@ -10,7 +10,8 @@ import {
ViewSlot,
ResourceRegistry,
CompositionEngine,
Animator
Animator,
DOMBoundary
} from 'aurelia-templating';

var logger = TheLogManager.getLogger('aurelia'),
Expand Down Expand Up @@ -222,6 +223,7 @@ export class Aurelia {
}

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

compositionEngine = this.container.get(CompositionEngine);
instruction.viewModel = root;
Expand Down

0 comments on commit 5a99ab0

Please sign in to comment.