Skip to content

Commit

Permalink
chore(all): prepare release 1.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Dec 3, 2016
1 parent 0f12514 commit 405c7d6
Show file tree
Hide file tree
Showing 9 changed files with 29 additions and 14 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-templating",
"version": "1.1.2",
"version": "1.1.3",
"description": "An extensible HTML templating engine supporting databinding, custom elements, attached behaviors and more.",
"keywords": [
"aurelia",
Expand Down
4 changes: 2 additions & 2 deletions dist/amd/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -2469,7 +2469,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
var value = element.getAttribute('class');
var auTargetID = getNextAUTargetID();

element.setAttribute('class', value ? value += ' au-target' : 'au-target');
element.setAttribute('class', value ? value + ' au-target' : 'au-target');
element.setAttribute('au-target-id', auTargetID);

return auTargetID;
Expand Down Expand Up @@ -2538,7 +2538,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
if (targetId) {
var ins = instructions[targetId];

if (ins.shadowSlot || ins.lifting) {
if (ins.shadowSlot || ins.lifting || ins.elementInstruction !== null && !ins.elementInstruction.anchorIsContainer) {
content.insertBefore(_aureliaPal.DOM.createComment('view'), firstChild);
}
}
Expand Down
4 changes: 2 additions & 2 deletions dist/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -3132,7 +3132,7 @@ function makeIntoInstructionTarget(element) {
let value = element.getAttribute('class');
let auTargetID = getNextAUTargetID();

element.setAttribute('class', (value ? value += ' au-target' : 'au-target'));
element.setAttribute('class', (value ? value + ' au-target' : 'au-target'));
element.setAttribute('au-target-id', auTargetID);

return auTargetID;
Expand Down Expand Up @@ -3215,7 +3215,7 @@ export class ViewCompiler {
if (targetId) {
let ins = instructions[targetId];

if (ins.shadowSlot || ins.lifting) {
if (ins.shadowSlot || ins.lifting || (ins.elementInstruction !== null && !ins.elementInstruction.anchorIsContainer)) {
content.insertBefore(DOM.createComment('view'), firstChild);
}
}
Expand Down
4 changes: 2 additions & 2 deletions dist/commonjs/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -2450,7 +2450,7 @@ function makeIntoInstructionTarget(element) {
var value = element.getAttribute('class');
var auTargetID = getNextAUTargetID();

element.setAttribute('class', value ? value += ' au-target' : 'au-target');
element.setAttribute('class', value ? value + ' au-target' : 'au-target');
element.setAttribute('au-target-id', auTargetID);

return auTargetID;
Expand Down Expand Up @@ -2519,7 +2519,7 @@ var ViewCompiler = exports.ViewCompiler = (_dec7 = (0, _aureliaDependencyInjecti
if (targetId) {
var ins = instructions[targetId];

if (ins.shadowSlot || ins.lifting) {
if (ins.shadowSlot || ins.lifting || ins.elementInstruction !== null && !ins.elementInstruction.anchorIsContainer) {
content.insertBefore(_aureliaPal.DOM.createComment('view'), firstChild);
}
}
Expand Down
4 changes: 2 additions & 2 deletions dist/es2015/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -2228,7 +2228,7 @@ function makeIntoInstructionTarget(element) {
let value = element.getAttribute('class');
let auTargetID = getNextAUTargetID();

element.setAttribute('class', value ? value += ' au-target' : 'au-target');
element.setAttribute('class', value ? value + ' au-target' : 'au-target');
element.setAttribute('au-target-id', auTargetID);

return auTargetID;
Expand Down Expand Up @@ -2295,7 +2295,7 @@ export let ViewCompiler = (_dec7 = inject(BindingLanguage, ViewResources), _dec7
if (targetId) {
let ins = instructions[targetId];

if (ins.shadowSlot || ins.lifting) {
if (ins.shadowSlot || ins.lifting || ins.elementInstruction !== null && !ins.elementInstruction.anchorIsContainer) {
content.insertBefore(DOM.createComment('view'), firstChild);
}
}
Expand Down
4 changes: 2 additions & 2 deletions dist/native-modules/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -2413,7 +2413,7 @@ function makeIntoInstructionTarget(element) {
var value = element.getAttribute('class');
var auTargetID = getNextAUTargetID();

element.setAttribute('class', value ? value += ' au-target' : 'au-target');
element.setAttribute('class', value ? value + ' au-target' : 'au-target');
element.setAttribute('au-target-id', auTargetID);

return auTargetID;
Expand Down Expand Up @@ -2482,7 +2482,7 @@ export var ViewCompiler = (_dec7 = inject(BindingLanguage, ViewResources), _dec7
if (targetId) {
var ins = instructions[targetId];

if (ins.shadowSlot || ins.lifting) {
if (ins.shadowSlot || ins.lifting || ins.elementInstruction !== null && !ins.elementInstruction.anchorIsContainer) {
content.insertBefore(DOM.createComment('view'), firstChild);
}
}
Expand Down
4 changes: 2 additions & 2 deletions dist/system/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia-
var value = element.getAttribute('class');
var auTargetID = getNextAUTargetID();

element.setAttribute('class', value ? value += ' au-target' : 'au-target');
element.setAttribute('class', value ? value + ' au-target' : 'au-target');
element.setAttribute('au-target-id', auTargetID);

return auTargetID;
Expand Down Expand Up @@ -2941,7 +2941,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia-
if (targetId) {
var ins = instructions[targetId];

if (ins.shadowSlot || ins.lifting) {
if (ins.shadowSlot || ins.lifting || ins.elementInstruction !== null && !ins.elementInstruction.anchorIsContainer) {
content.insertBefore(DOM.createComment('view'), firstChild);
}
}
Expand Down
15 changes: 15 additions & 0 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
<a name="1.1.3"></a>
## [1.1.3](https://github.com/aurelia/templating/compare/1.1.2...v1.1.3) (2016-12-03)


### Bug Fixes

* **view-compiler:** proper anchoring for containerless elements inside of a template controller ([0f12514](https://github.com/aurelia/templating/commit/0f12514))


### Performance Improvements

* **view-compiler:** remove unnecessary assignment ([ddde119](https://github.com/aurelia/templating/commit/ddde119))



<a name="1.1.1"></a>
## [1.1.1](https://github.com/aurelia/templating/compare/1.1.0...v1.1.1) (2016-09-29)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-templating",
"version": "1.1.2",
"version": "1.1.3",
"description": "An extensible HTML templating engine supporting databinding, custom elements, attached behaviors and more.",
"keywords": [
"aurelia",
Expand Down

0 comments on commit 405c7d6

Please sign in to comment.