diff --git a/bower.json b/bower.json index 97fef1b7..4df531c4 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "aurelia-templating", - "version": "0.13.13", + "version": "0.13.14", "description": "An extensible HTML templating engine supporting databinding, custom elements, attached behaviors and more.", "keywords": [ "aurelia", diff --git a/dist/amd/aurelia-templating.js b/dist/amd/aurelia-templating.js index e2a00a9d..d945095a 100644 --- a/dist/amd/aurelia-templating.js +++ b/dist/amd/aurelia-templating.js @@ -2636,7 +2636,9 @@ define(['exports', 'core-js', 'aurelia-metadata', 'aurelia-path', 'aurelia-loade host = element; } - container.registerInstance(DOMBoundary, host); + if (instruction.anchorIsContainer) { + container.registerInstance(DOMBoundary, host); + } } var executionContext = instruction.executionContext || container.get(this.target), diff --git a/dist/aurelia-templating.js b/dist/aurelia-templating.js index b4a27b35..951a5697 100644 --- a/dist/aurelia-templating.js +++ b/dist/aurelia-templating.js @@ -2419,7 +2419,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), diff --git a/dist/commonjs/aurelia-templating.js b/dist/commonjs/aurelia-templating.js index cfd78568..71f43d47 100644 --- a/dist/commonjs/aurelia-templating.js +++ b/dist/commonjs/aurelia-templating.js @@ -2655,7 +2655,9 @@ var HtmlBehaviorResource = (function () { host = element; } - container.registerInstance(DOMBoundary, host); + if (instruction.anchorIsContainer) { + container.registerInstance(DOMBoundary, host); + } } var executionContext = instruction.executionContext || container.get(this.target), diff --git a/dist/es6/aurelia-templating.js b/dist/es6/aurelia-templating.js index b4a27b35..951a5697 100644 --- a/dist/es6/aurelia-templating.js +++ b/dist/es6/aurelia-templating.js @@ -2419,7 +2419,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), diff --git a/dist/system/aurelia-templating.js b/dist/system/aurelia-templating.js index c056384c..752c75a0 100644 --- a/dist/system/aurelia-templating.js +++ b/dist/system/aurelia-templating.js @@ -2842,7 +2842,9 @@ System.register(['core-js', 'aurelia-metadata', 'aurelia-path', 'aurelia-loader' host = element; } - container.registerInstance(DOMBoundary, host); + if (instruction.anchorIsContainer) { + container.registerInstance(DOMBoundary, host); + } } var executionContext = instruction.executionContext || container.get(this.target), diff --git a/doc/CHANGELOG.md b/doc/CHANGELOG.md index 1557a802..668c1a13 100644 --- a/doc/CHANGELOG.md +++ b/doc/CHANGELOG.md @@ -1,3 +1,11 @@ +### 0.13.14 (2015-07-30) + + +#### Bug Fixes + +* **html-behavior:** do not override DOMBoundary for containerless elements ([d3c2ba4e](http://github.com/aurelia/templating/commit/d3c2ba4eeebd8a08dca6cb15d6ee377af4698e52)) + + ### 0.13.13 (2015-07-29) diff --git a/package.json b/package.json index 98b49d09..7514c905 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aurelia-templating", - "version": "0.13.13", + "version": "0.13.14", "description": "An extensible HTML templating engine supporting databinding, custom elements, attached behaviors and more.", "keywords": [ "aurelia",