Skip to content

Commit

Permalink
chore(all): prepare release 0.14.3
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Aug 14, 2015
1 parent e0e00c0 commit add2057
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 19 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": "0.14.2",
"version": "0.14.3",
"description": "An extensible HTML templating engine supporting databinding, custom elements, attached behaviors and more.",
"keywords": [
"aurelia",
Expand Down
4 changes: 1 addition & 3 deletions dist/amd/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -1495,9 +1495,7 @@ define(['exports', 'core-js', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pa

if (currentAttributeValue) {
if (key === 'class') {
if (currentAttributeValue !== 'au-target') {
element.setAttribute('class', currentAttributeValue + ' ' + values[key]);
}
element.setAttribute('class', currentAttributeValue + ' ' + values[key]);
} else if (key === 'style') {
var styleObject = styleStringToObject(values[key]);
styleStringToObject(currentAttributeValue, styleObject);
Expand Down
6 changes: 2 additions & 4 deletions dist/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -1371,10 +1371,8 @@ function applySurrogateInstruction(container, element, instruction, behaviors, b

if(currentAttributeValue){
if(key === 'class'){
if(currentAttributeValue !== 'au-target'){
//merge the surrogate classes
element.setAttribute('class', currentAttributeValue + ' ' + values[key]);
}
//merge the surrogate classes
element.setAttribute('class', currentAttributeValue + ' ' + values[key]);
}else if(key === 'style'){
//merge the surrogate styles
let styleObject = styleStringToObject(values[key]);
Expand Down
4 changes: 1 addition & 3 deletions dist/commonjs/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -1516,9 +1516,7 @@ function applySurrogateInstruction(container, element, instruction, behaviors, b

if (currentAttributeValue) {
if (key === 'class') {
if (currentAttributeValue !== 'au-target') {
element.setAttribute('class', currentAttributeValue + ' ' + values[key]);
}
element.setAttribute('class', currentAttributeValue + ' ' + values[key]);
} else if (key === 'style') {
var styleObject = styleStringToObject(values[key]);
styleStringToObject(currentAttributeValue, styleObject);
Expand Down
6 changes: 2 additions & 4 deletions dist/es6/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -1371,10 +1371,8 @@ function applySurrogateInstruction(container, element, instruction, behaviors, b

if(currentAttributeValue){
if(key === 'class'){
if(currentAttributeValue !== 'au-target'){
//merge the surrogate classes
element.setAttribute('class', currentAttributeValue + ' ' + values[key]);
}
//merge the surrogate classes
element.setAttribute('class', currentAttributeValue + ' ' + values[key]);
}else if(key === 'style'){
//merge the surrogate styles
let styleObject = styleStringToObject(values[key]);
Expand Down
4 changes: 1 addition & 3 deletions dist/system/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -331,9 +331,7 @@ System.register(['core-js', 'aurelia-logging', 'aurelia-metadata', 'aurelia-path

if (currentAttributeValue) {
if (key === 'class') {
if (currentAttributeValue !== 'au-target') {
element.setAttribute('class', currentAttributeValue + ' ' + values[key]);
}
element.setAttribute('class', currentAttributeValue + ' ' + values[key]);
} else if (key === 'style') {
var styleObject = styleStringToObject(values[key]);
styleStringToObject(currentAttributeValue, styleObject);
Expand Down
8 changes: 8 additions & 0 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
### 0.14.3 (2015-08-14)


#### Bug Fixes

* **view-factory:** always merge classes from surrogate ([e0e00c06](http://github.com/aurelia/templating/commit/e0e00c0683b2b82862596fa6dcee84dbf4282f06), closes [#147](http://github.com/aurelia/templating/issues/147))


### 0.14.2 (2015-08-14)


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": "0.14.2",
"version": "0.14.3",
"description": "An extensible HTML templating engine supporting databinding, custom elements, attached behaviors and more.",
"keywords": [
"aurelia",
Expand Down

0 comments on commit add2057

Please sign in to comment.