Skip to content

Commit

Permalink
chore(all): prepare release 1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Jan 6, 2017
1 parent b860b0c commit 8ed3396
Show file tree
Hide file tree
Showing 9 changed files with 31 additions and 20 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-binding",
"version": "1.1.0",
"version": "1.1.1",
"description": "A modern databinding library for JavaScript and HTML.",
"license": "MIT",
"keywords": [
Expand Down
6 changes: 3 additions & 3 deletions dist/amd/aurelia-binding.js
Original file line number Diff line number Diff line change
Expand Up @@ -1109,7 +1109,7 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure
this.__array_observer__.addChangeRecord({
type: 'splice',
object: this,
index: arguments[0],
index: +arguments[0],
removed: methodCallResult,
addedCount: arguments.length > 2 ? arguments.length - 2 : 0
});
Expand Down Expand Up @@ -3139,9 +3139,9 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure
var observer = new ModifyMapObserver(taskQueue, map);

var proto = mapProto;
if (proto.add !== map.add || proto.delete !== map.delete || proto.clear !== map.clear) {
if (proto.set !== map.set || proto.delete !== map.delete || proto.clear !== map.clear) {
proto = {
add: map.add,
set: map.set,
delete: map.delete,
clear: map.clear
};
Expand Down
6 changes: 3 additions & 3 deletions dist/aurelia-binding.js
Original file line number Diff line number Diff line change
Expand Up @@ -1096,7 +1096,7 @@ Array.prototype.splice = function() {
this.__array_observer__.addChangeRecord({
type: 'splice',
object: this,
index: arguments[0],
index: +arguments[0],
removed: methodCallResult,
addedCount: arguments.length > 2 ? arguments.length - 2 : 0
});
Expand Down Expand Up @@ -3013,9 +3013,9 @@ class ModifyMapObserver extends ModifyCollectionObserver {
let observer = new ModifyMapObserver(taskQueue, map);

let proto = mapProto;
if (proto.add !== map.add || proto.delete !== map.delete || proto.clear !== map.clear) {
if (proto.set !== map.set || proto.delete !== map.delete || proto.clear !== map.clear) {
proto = {
add: map.add,
set: map.set,
delete: map.delete,
clear: map.clear
};
Expand Down
6 changes: 3 additions & 3 deletions dist/commonjs/aurelia-binding.js
Original file line number Diff line number Diff line change
Expand Up @@ -1062,7 +1062,7 @@ Array.prototype.splice = function () {
this.__array_observer__.addChangeRecord({
type: 'splice',
object: this,
index: arguments[0],
index: +arguments[0],
removed: methodCallResult,
addedCount: arguments.length > 2 ? arguments.length - 2 : 0
});
Expand Down Expand Up @@ -3092,9 +3092,9 @@ var ModifyMapObserver = function (_ModifyCollectionObse2) {
var observer = new ModifyMapObserver(taskQueue, map);

var proto = mapProto;
if (proto.add !== map.add || proto.delete !== map.delete || proto.clear !== map.clear) {
if (proto.set !== map.set || proto.delete !== map.delete || proto.clear !== map.clear) {
proto = {
add: map.add,
set: map.set,
delete: map.delete,
clear: map.clear
};
Expand Down
6 changes: 3 additions & 3 deletions dist/es2015/aurelia-binding.js
Original file line number Diff line number Diff line change
Expand Up @@ -1002,7 +1002,7 @@ Array.prototype.splice = function () {
this.__array_observer__.addChangeRecord({
type: 'splice',
object: this,
index: arguments[0],
index: +arguments[0],
removed: methodCallResult,
addedCount: arguments.length > 2 ? arguments.length - 2 : 0
});
Expand Down Expand Up @@ -2851,9 +2851,9 @@ let ModifyMapObserver = class ModifyMapObserver extends ModifyCollectionObserver
let observer = new ModifyMapObserver(taskQueue, map);

let proto = mapProto;
if (proto.add !== map.add || proto.delete !== map.delete || proto.clear !== map.clear) {
if (proto.set !== map.set || proto.delete !== map.delete || proto.clear !== map.clear) {
proto = {
add: map.add,
set: map.set,
delete: map.delete,
clear: map.clear
};
Expand Down
6 changes: 3 additions & 3 deletions dist/native-modules/aurelia-binding.js
Original file line number Diff line number Diff line change
Expand Up @@ -1032,7 +1032,7 @@ Array.prototype.splice = function () {
this.__array_observer__.addChangeRecord({
type: 'splice',
object: this,
index: arguments[0],
index: +arguments[0],
removed: methodCallResult,
addedCount: arguments.length > 2 ? arguments.length - 2 : 0
});
Expand Down Expand Up @@ -3058,9 +3058,9 @@ var ModifyMapObserver = function (_ModifyCollectionObse2) {
var observer = new ModifyMapObserver(taskQueue, map);

var proto = mapProto;
if (proto.add !== map.add || proto.delete !== map.delete || proto.clear !== map.clear) {
if (proto.set !== map.set || proto.delete !== map.delete || proto.clear !== map.clear) {
proto = {
add: map.add,
set: map.set,
delete: map.delete,
clear: map.clear
};
Expand Down
6 changes: 3 additions & 3 deletions dist/system/aurelia-binding.js
Original file line number Diff line number Diff line change
Expand Up @@ -1463,7 +1463,7 @@ System.register(['aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aureli
this.__array_observer__.addChangeRecord({
type: 'splice',
object: this,
index: arguments[0],
index: +arguments[0],
removed: methodCallResult,
addedCount: arguments.length > 2 ? arguments.length - 2 : 0
});
Expand Down Expand Up @@ -3408,9 +3408,9 @@ System.register(['aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aureli
var observer = new ModifyMapObserver(taskQueue, map);

var proto = mapProto;
if (proto.add !== map.add || proto.delete !== map.delete || proto.clear !== map.clear) {
if (proto.set !== map.set || proto.delete !== map.delete || proto.clear !== map.clear) {
proto = {
add: map.add,
set: map.set,
delete: map.delete,
clear: map.clear
};
Expand Down
11 changes: 11 additions & 0 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
<a name="1.1.1"></a>
## [1.1.1](https://github.com/aurelia/binding/compare/1.1.0...v1.1.1) (2017-01-06)


### Bug Fixes

* **array-observation:** coerce splice args ([#552](https://github.com/aurelia/binding/issues/552)) ([94899e0](https://github.com/aurelia/binding/commit/94899e0)), closes [aurelia/templating#470](https://github.com/aurelia/templating/issues/470)
* **map-observation:** change "add" property to "set" ([1fd7ebd](https://github.com/aurelia/binding/commit/1fd7ebd)), closes [#549](https://github.com/aurelia/binding/issues/549)



<a name="1.1.0"></a>
# [1.1.0](https://github.com/aurelia/binding/compare/1.0.9...v1.1.0) (2016-12-08)

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-binding",
"version": "1.1.0",
"version": "1.1.1",
"description": "A modern databinding library for JavaScript and HTML.",
"keywords": [
"aurelia",
Expand Down

0 comments on commit 8ed3396

Please sign in to comment.