Skip to content

Commit

Permalink
fix(html-behavior): do not override DOMBoundary for containerless ele…
Browse files Browse the repository at this point in the history
…ments
  • Loading branch information
EisenbergEffect committed Jul 30, 2015
1 parent 20447f9 commit d3c2ba4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/html-behavior.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,9 @@ export class HtmlBehaviorResource {
host = element;
}

container.registerInstance(DOMBoundary, host);
if(instruction.anchorIsContainer){
container.registerInstance(DOMBoundary, host);
}
}

let executionContext = instruction.executionContext || container.get(this.target),
Expand Down

0 comments on commit d3c2ba4

Please sign in to comment.