diff --git a/bower.json b/bower.json index f6e2ddda..97fef1b7 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "aurelia-templating", - "version": "0.13.12", + "version": "0.13.13", "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 e328420a..e2a00a9d 100644 --- a/dist/amd/aurelia-templating.js +++ b/dist/amd/aurelia-templating.js @@ -1676,13 +1676,13 @@ define(['exports', 'core-js', 'aurelia-metadata', 'aurelia-path', 'aurelia-loade if (tagName === 'content') { if (targetLightDOM) { - instructions.push({ + auTargetID = makeIntoInstructionTarget(node); + instructions[auTargetID] = { parentInjectorId: parentInjectorId, contentSelector: true, selector: node.getAttribute('select'), suppressBind: true - }); - makeIntoInstructionTarget(node); + }; } return node.nextSibling; } else if (tagName === 'template') { diff --git a/dist/aurelia-templating.js b/dist/aurelia-templating.js index 002f8688..b4a27b35 100644 --- a/dist/aurelia-templating.js +++ b/dist/aurelia-templating.js @@ -1530,13 +1530,13 @@ export class ViewCompiler { if(tagName === 'content'){ if(targetLightDOM){ - instructions.push({ + auTargetID = makeIntoInstructionTarget(node); + instructions[auTargetID] = { parentInjectorId: parentInjectorId, contentSelector: true, selector:node.getAttribute('select'), suppressBind: true - }); - makeIntoInstructionTarget(node); + }; } return node.nextSibling; } else if(tagName === 'template'){ diff --git a/dist/commonjs/aurelia-templating.js b/dist/commonjs/aurelia-templating.js index ddc1deb0..cfd78568 100644 --- a/dist/commonjs/aurelia-templating.js +++ b/dist/commonjs/aurelia-templating.js @@ -1695,13 +1695,13 @@ var ViewCompiler = (function () { if (tagName === 'content') { if (targetLightDOM) { - instructions.push({ + auTargetID = makeIntoInstructionTarget(node); + instructions[auTargetID] = { parentInjectorId: parentInjectorId, contentSelector: true, selector: node.getAttribute('select'), suppressBind: true - }); - makeIntoInstructionTarget(node); + }; } return node.nextSibling; } else if (tagName === 'template') { diff --git a/dist/es6/aurelia-templating.js b/dist/es6/aurelia-templating.js index 002f8688..b4a27b35 100644 --- a/dist/es6/aurelia-templating.js +++ b/dist/es6/aurelia-templating.js @@ -1530,13 +1530,13 @@ export class ViewCompiler { if(tagName === 'content'){ if(targetLightDOM){ - instructions.push({ + auTargetID = makeIntoInstructionTarget(node); + instructions[auTargetID] = { parentInjectorId: parentInjectorId, contentSelector: true, selector:node.getAttribute('select'), suppressBind: true - }); - makeIntoInstructionTarget(node); + }; } return node.nextSibling; } else if(tagName === 'template'){ diff --git a/dist/system/aurelia-templating.js b/dist/system/aurelia-templating.js index 733bc89e..c056384c 100644 --- a/dist/system/aurelia-templating.js +++ b/dist/system/aurelia-templating.js @@ -1905,13 +1905,13 @@ System.register(['core-js', 'aurelia-metadata', 'aurelia-path', 'aurelia-loader' if (tagName === 'content') { if (targetLightDOM) { - instructions.push({ + auTargetID = makeIntoInstructionTarget(node); + instructions[auTargetID] = { parentInjectorId: parentInjectorId, contentSelector: true, selector: node.getAttribute('select'), suppressBind: true - }); - makeIntoInstructionTarget(node); + }; } return node.nextSibling; } else if (tagName === 'template') { diff --git a/doc/CHANGELOG.md b/doc/CHANGELOG.md index ea5be434..1557a802 100644 --- a/doc/CHANGELOG.md +++ b/doc/CHANGELOG.md @@ -1,3 +1,11 @@ +### 0.13.13 (2015-07-29) + + +#### Bug Fixes + +* **view-compiler:** missed update to content projection with new instruction lookup ([589c9d7e](http://github.com/aurelia/templating/commit/589c9d7e8c5cd27812c8059f8b88481844657992)) + + ### 0.13.12 (2015-07-29) diff --git a/package.json b/package.json index 3e84848e..98b49d09 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aurelia-templating", - "version": "0.13.12", + "version": "0.13.13", "description": "An extensible HTML templating engine supporting databinding, custom elements, attached behaviors and more.", "keywords": [ "aurelia",