Skip to content

Commit 5a99ab0

Browse files
feat(aurelia): configure host as root dom boundary
1 parent 04cadc5 commit 5a99ab0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/aurelia.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ import {
1010
ViewSlot,
1111
ResourceRegistry,
1212
CompositionEngine,
13-
Animator
13+
Animator,
14+
DOMBoundary
1415
} from 'aurelia-templating';
1516

1617
var logger = TheLogManager.getLogger('aurelia'),
@@ -222,6 +223,7 @@ export class Aurelia {
222223
}
223224

224225
this.host.aurelia = this;
226+
this.container.registerInstance(DOMBoundary, this.host);
225227

226228
compositionEngine = this.container.get(CompositionEngine);
227229
instruction.viewModel = root;

0 commit comments

Comments
 (0)