Skip to content

Commit

Permalink
chore(all): prepare release 1.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Jun 20, 2018
1 parent 152e0f6 commit 16d1069
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 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-binding",
"version": "1.4.1",
"version": "1.4.2",
"description": "An implementation of the templating engine's Binding Language abstraction which uses a pluggable command syntax.",
"keywords": [
"aurelia",
Expand Down
8 changes: 4 additions & 4 deletions dist/es2015/aurelia-templating-binding.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,15 +118,15 @@ export let InterpolationBinding = class InterpolationBinding {
let value = '';
let parts = this.parts;
for (let i = 0, ii = parts.length; i < ii; i++) {
value += i % 2 === 0 ? parts[i] : this[`childBinding${ i }`].value;
value += i % 2 === 0 ? parts[i] : this[`childBinding${i}`].value;
}
this.targetAccessor.setValue(value, this.target, this.targetProperty);
}
}

updateOneTimeBindings() {
for (let i = 1, ii = this.parts.length; i < ii; i += 2) {
let child = this[`childBinding${ i }`];
let child = this[`childBinding${i}`];
if (child.mode === bindingMode.oneTime) {
child.call();
}
Expand All @@ -146,7 +146,7 @@ export let InterpolationBinding = class InterpolationBinding {
for (let i = 1, ii = parts.length; i < ii; i += 2) {
let binding = new ChildInterpolationBinding(this, this.observerLocator, parts[i], this.mode, this.lookupFunctions);
binding.bind(source);
this[`childBinding${ i }`] = binding;
this[`childBinding${i}`] = binding;
}

this.isBound = true;
Expand All @@ -161,7 +161,7 @@ export let InterpolationBinding = class InterpolationBinding {
this.source = null;
let parts = this.parts;
for (let i = 1, ii = parts.length; i < ii; i += 2) {
let name = `childBinding${ i }`;
let name = `childBinding${i}`;
this[name].unbind();
}
}
Expand Down
5 changes: 5 additions & 0 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<a name="1.4.2"></a>
## [1.4.2](https://github.com/aurelia/templating-binding/compare/1.4.1...1.4.2) (2018-06-20)

* Updating dependencies.

<a name="1.4.1"></a>
## [1.4.1](https://github.com/aurelia/templating-binding/compare/1.4.0...v1.4.1) (2018-02-14)

Expand Down
2 changes: 1 addition & 1 deletion doc/api.json

Large diffs are not rendered by default.

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-binding",
"version": "1.4.1",
"version": "1.4.2",
"description": "An implementation of the templating engine's Binding Language abstraction which uses a pluggable command syntax.",
"keywords": [
"aurelia",
Expand Down

0 comments on commit 16d1069

Please sign in to comment.