Skip to content

Commit add2057

Browse files
chore(all): prepare release 0.14.3
1 parent e0e00c0 commit add2057

File tree

8 files changed

+17
-19
lines changed

8 files changed

+17
-19
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aurelia-templating",
3-
"version": "0.14.2",
3+
"version": "0.14.3",
44
"description": "An extensible HTML templating engine supporting databinding, custom elements, attached behaviors and more.",
55
"keywords": [
66
"aurelia",

dist/amd/aurelia-templating.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1495,9 +1495,7 @@ define(['exports', 'core-js', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pa
14951495

14961496
if (currentAttributeValue) {
14971497
if (key === 'class') {
1498-
if (currentAttributeValue !== 'au-target') {
1499-
element.setAttribute('class', currentAttributeValue + ' ' + values[key]);
1500-
}
1498+
element.setAttribute('class', currentAttributeValue + ' ' + values[key]);
15011499
} else if (key === 'style') {
15021500
var styleObject = styleStringToObject(values[key]);
15031501
styleStringToObject(currentAttributeValue, styleObject);

dist/aurelia-templating.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1371,10 +1371,8 @@ function applySurrogateInstruction(container, element, instruction, behaviors, b
13711371

13721372
if(currentAttributeValue){
13731373
if(key === 'class'){
1374-
if(currentAttributeValue !== 'au-target'){
1375-
//merge the surrogate classes
1376-
element.setAttribute('class', currentAttributeValue + ' ' + values[key]);
1377-
}
1374+
//merge the surrogate classes
1375+
element.setAttribute('class', currentAttributeValue + ' ' + values[key]);
13781376
}else if(key === 'style'){
13791377
//merge the surrogate styles
13801378
let styleObject = styleStringToObject(values[key]);

dist/commonjs/aurelia-templating.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1516,9 +1516,7 @@ function applySurrogateInstruction(container, element, instruction, behaviors, b
15161516

15171517
if (currentAttributeValue) {
15181518
if (key === 'class') {
1519-
if (currentAttributeValue !== 'au-target') {
1520-
element.setAttribute('class', currentAttributeValue + ' ' + values[key]);
1521-
}
1519+
element.setAttribute('class', currentAttributeValue + ' ' + values[key]);
15221520
} else if (key === 'style') {
15231521
var styleObject = styleStringToObject(values[key]);
15241522
styleStringToObject(currentAttributeValue, styleObject);

dist/es6/aurelia-templating.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1371,10 +1371,8 @@ function applySurrogateInstruction(container, element, instruction, behaviors, b
13711371

13721372
if(currentAttributeValue){
13731373
if(key === 'class'){
1374-
if(currentAttributeValue !== 'au-target'){
1375-
//merge the surrogate classes
1376-
element.setAttribute('class', currentAttributeValue + ' ' + values[key]);
1377-
}
1374+
//merge the surrogate classes
1375+
element.setAttribute('class', currentAttributeValue + ' ' + values[key]);
13781376
}else if(key === 'style'){
13791377
//merge the surrogate styles
13801378
let styleObject = styleStringToObject(values[key]);

dist/system/aurelia-templating.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -331,9 +331,7 @@ System.register(['core-js', 'aurelia-logging', 'aurelia-metadata', 'aurelia-path
331331

332332
if (currentAttributeValue) {
333333
if (key === 'class') {
334-
if (currentAttributeValue !== 'au-target') {
335-
element.setAttribute('class', currentAttributeValue + ' ' + values[key]);
336-
}
334+
element.setAttribute('class', currentAttributeValue + ' ' + values[key]);
337335
} else if (key === 'style') {
338336
var styleObject = styleStringToObject(values[key]);
339337
styleStringToObject(currentAttributeValue, styleObject);

doc/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
### 0.14.3 (2015-08-14)
2+
3+
4+
#### Bug Fixes
5+
6+
* **view-factory:** always merge classes from surrogate ([e0e00c06](http://github.com/aurelia/templating/commit/e0e00c0683b2b82862596fa6dcee84dbf4282f06), closes [#147](http://github.com/aurelia/templating/issues/147))
7+
8+
19
### 0.14.2 (2015-08-14)
210

311

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aurelia-templating",
3-
"version": "0.14.2",
3+
"version": "0.14.3",
44
"description": "An extensible HTML templating engine supporting databinding, custom elements, attached behaviors and more.",
55
"keywords": [
66
"aurelia",

0 commit comments

Comments
 (0)