Skip to content

Commit

Permalink
chore(all): prepare release 1.0.0-beta.1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Mar 29, 2016
1 parent 50e37e7 commit 5cc39b8
Show file tree
Hide file tree
Showing 8 changed files with 47 additions and 27 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.0.0-beta.1.2.0",
"version": "1.0.0-beta.1.2.1",
"description": "An extensible HTML templating engine supporting databinding, custom elements, attached behaviors and more.",
"keywords": [
"aurelia",
Expand Down
12 changes: 7 additions & 5 deletions dist/amd/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -931,7 +931,7 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-metadata', 'aureli
this.bindings.push(binding);

if (this.isBound) {
binding.bind(this.bindingContext);
binding.bind(this);
}
};

Expand All @@ -946,9 +946,6 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-metadata', 'aureli
this.isBound = false;
this.resources._invokeHook('beforeUnbind', this);

this.bindingContext = null;
this.overrideContext = null;

if (this.controller !== null) {
this.controller.unbind();
}
Expand All @@ -967,6 +964,9 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-metadata', 'aureli
for (i = 0, ii = children.length; i < ii; ++i) {
children[i].unbind();
}

this.bindingContext = null;
this.overrideContext = null;
}
};

Expand Down Expand Up @@ -2985,7 +2985,9 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-metadata', 'aureli
}

this.attribute = this.attribute || _hyphenate(this.name);
this.defaultBindingMode = this.defaultBindingMode || _aureliaBinding.bindingMode.oneWay;
if (this.defaultBindingMode === null || this.defaultBindingMode === undefined) {
this.defaultBindingMode = _aureliaBinding.bindingMode.oneWay;
}
this.changeHandler = this.changeHandler || null;
this.owner = null;
this.descriptor = null;
Expand Down
12 changes: 7 additions & 5 deletions dist/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -1328,7 +1328,7 @@ export class View {
this.bindings.push(binding);

if (this.isBound) {
binding.bind(this.bindingContext);
binding.bind(this);
}
}

Expand All @@ -1346,9 +1346,6 @@ export class View {
this.isBound = false;
this.resources._invokeHook('beforeUnbind', this);

this.bindingContext = null;
this.overrideContext = null;

if (this.controller !== null) {
this.controller.unbind();
}
Expand All @@ -1367,6 +1364,9 @@ export class View {
for (i = 0, ii = children.length; i < ii; ++i) {
children[i].unbind();
}

this.bindingContext = null;
this.overrideContext = null;
}
}

Expand Down Expand Up @@ -3691,7 +3691,9 @@ export class BindableProperty {
}

this.attribute = this.attribute || _hyphenate(this.name);
this.defaultBindingMode = this.defaultBindingMode || bindingMode.oneWay;
if (this.defaultBindingMode === null || this.defaultBindingMode === undefined) {
this.defaultBindingMode = bindingMode.oneWay;
}
this.changeHandler = this.changeHandler || null;
this.owner = null;
this.descriptor = null;
Expand Down
12 changes: 7 additions & 5 deletions dist/commonjs/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -908,7 +908,7 @@ var View = exports.View = function () {
this.bindings.push(binding);

if (this.isBound) {
binding.bind(this.bindingContext);
binding.bind(this);
}
};

Expand All @@ -923,9 +923,6 @@ var View = exports.View = function () {
this.isBound = false;
this.resources._invokeHook('beforeUnbind', this);

this.bindingContext = null;
this.overrideContext = null;

if (this.controller !== null) {
this.controller.unbind();
}
Expand All @@ -944,6 +941,9 @@ var View = exports.View = function () {
for (i = 0, ii = children.length; i < ii; ++i) {
children[i].unbind();
}

this.bindingContext = null;
this.overrideContext = null;
}
};

Expand Down Expand Up @@ -2962,7 +2962,9 @@ var BindableProperty = exports.BindableProperty = function () {
}

this.attribute = this.attribute || _hyphenate(this.name);
this.defaultBindingMode = this.defaultBindingMode || _aureliaBinding.bindingMode.oneWay;
if (this.defaultBindingMode === null || this.defaultBindingMode === undefined) {
this.defaultBindingMode = _aureliaBinding.bindingMode.oneWay;
}
this.changeHandler = this.changeHandler || null;
this.owner = null;
this.descriptor = null;
Expand Down
12 changes: 7 additions & 5 deletions dist/es2015/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ export let View = class View {
this.bindings.push(binding);

if (this.isBound) {
binding.bind(this.bindingContext);
binding.bind(this);
}
}

Expand All @@ -796,9 +796,6 @@ export let View = class View {
this.isBound = false;
this.resources._invokeHook('beforeUnbind', this);

this.bindingContext = null;
this.overrideContext = null;

if (this.controller !== null) {
this.controller.unbind();
}
Expand All @@ -817,6 +814,9 @@ export let View = class View {
for (i = 0, ii = children.length; i < ii; ++i) {
children[i].unbind();
}

this.bindingContext = null;
this.overrideContext = null;
}
}

Expand Down Expand Up @@ -2734,7 +2734,9 @@ export let BindableProperty = class BindableProperty {
}

this.attribute = this.attribute || _hyphenate(this.name);
this.defaultBindingMode = this.defaultBindingMode || bindingMode.oneWay;
if (this.defaultBindingMode === null || this.defaultBindingMode === undefined) {
this.defaultBindingMode = bindingMode.oneWay;
}
this.changeHandler = this.changeHandler || null;
this.owner = null;
this.descriptor = null;
Expand Down
12 changes: 7 additions & 5 deletions dist/system/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -1383,7 +1383,7 @@ System.register(['aurelia-logging', 'aurelia-pal', 'aurelia-metadata', 'aurelia-
this.bindings.push(binding);

if (this.isBound) {
binding.bind(this.bindingContext);
binding.bind(this);
}
};

Expand All @@ -1398,9 +1398,6 @@ System.register(['aurelia-logging', 'aurelia-pal', 'aurelia-metadata', 'aurelia-
this.isBound = false;
this.resources._invokeHook('beforeUnbind', this);

this.bindingContext = null;
this.overrideContext = null;

if (this.controller !== null) {
this.controller.unbind();
}
Expand All @@ -1419,6 +1416,9 @@ System.register(['aurelia-logging', 'aurelia-pal', 'aurelia-metadata', 'aurelia-
for (i = 0, ii = children.length; i < ii; ++i) {
children[i].unbind();
}

this.bindingContext = null;
this.overrideContext = null;
}
};

Expand Down Expand Up @@ -3144,7 +3144,9 @@ System.register(['aurelia-logging', 'aurelia-pal', 'aurelia-metadata', 'aurelia-
}

this.attribute = this.attribute || _hyphenate(this.name);
this.defaultBindingMode = this.defaultBindingMode || bindingMode.oneWay;
if (this.defaultBindingMode === null || this.defaultBindingMode === undefined) {
this.defaultBindingMode = bindingMode.oneWay;
}
this.changeHandler = this.changeHandler || null;
this.owner = null;
this.descriptor = null;
Expand Down
10 changes: 10 additions & 0 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
### 1.0.0-beta.1.2.1 (2016-03-29)


#### Bug Fixes

* **BindableProperty:** enable specifying oneTime default binding mode ([a557aade](http://github.com/aurelia/templating/commit/a557aade002133144fa2e2106066d26af2037d78), closes [#298](http://github.com/aurelia/templating/issues/298))
* **View:** preserve bindingContext while unbinding ([ae6feed0](http://github.com/aurelia/templating/commit/ae6feed008ee19dfb0ad9204c562a845c11213ef))
* **view:** incorrect input to dynamic binding ([2069af08](http://github.com/aurelia/templating/commit/2069af0880057858b7758f67faf4f2f9ccdbc96f))


### 1.0.0-beta.1.2.0 (2016-03-22)


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

0 comments on commit 5cc39b8

Please sign in to comment.