Skip to content

Commit

Permalink
chore(all): prepare release 0.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed May 6, 2015
1 parent 2d8ad7d commit b76973b
Show file tree
Hide file tree
Showing 8 changed files with 66 additions and 54 deletions.
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-binding",
"version": "0.6.0",
"version": "0.6.1",
"description": "A modern databinding library for JavaScript and HTML.",
"license": "MIT",
"keywords": [
Expand All @@ -17,7 +17,7 @@
"url": "http://github.com/aurelia/binding"
},
"dependencies": {
"aurelia-dependency-injection": "^0.7.0",
"aurelia-dependency-injection": "^0.7.1",
"aurelia-metadata": "^0.5.0",
"aurelia-task-queue": "^0.4.0",
"core-js": "zloirock/core-js"
Expand Down
12 changes: 6 additions & 6 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,24 @@ System.config({

System.config({
"map": {
"aurelia-dependency-injection": "github:aurelia/[email protected].0",
"aurelia-dependency-injection": "github:aurelia/[email protected].1",
"aurelia-metadata": "github:aurelia/[email protected]",
"aurelia-task-queue": "github:aurelia/[email protected]",
"babel": "npm:[email protected]",
"babel-runtime": "npm:[email protected]",
"core-js": "npm:[email protected].5",
"github:aurelia/[email protected].0": {
"core-js": "npm:[email protected].6",
"github:aurelia/[email protected].1": {
"aurelia-logging": "github:aurelia/[email protected]",
"aurelia-metadata": "github:aurelia/[email protected]",
"core-js": "npm:[email protected].5"
"core-js": "npm:[email protected].6"
},
"github:aurelia/[email protected]": {
"core-js": "npm:[email protected].5"
"core-js": "npm:[email protected].6"
},
"github:jspm/[email protected]": {
"process": "npm:[email protected]"
},
"npm:[email protected].5": {
"npm:[email protected].6": {
"process": "github:jspm/[email protected]"
}
}
Expand Down
23 changes: 12 additions & 11 deletions dist/amd/property-observation.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,18 +138,19 @@ define(['exports', 'core-js'], function (exports, _coreJs) {
OoObjectObserver.prototype.handleChanges = function handleChanges(changeRecords) {
var updates = {},
observers = this.observers,
i = changeRecords.length;
change,
observer;

while (i--) {
var change = changeRecords[i],
name = change.name;

if (!(name in updates)) {
var observer = observers[name];
updates[name] = true;
if (observer) {
observer.trigger(change.object[name], change.oldValue);
}
for (var i = 0, ii = changeRecords.length; i < ii; ++i) {
change = changeRecords[i];
updates[change.name] = change;
}

for (var key in updates) {
observer = observers[key], change = updates[key];

if (observer) {
observer.trigger(change.object[key], change.oldValue);
}
}
};
Expand Down
23 changes: 12 additions & 11 deletions dist/commonjs/property-observation.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,18 +139,19 @@ var OoObjectObserver = (function () {
OoObjectObserver.prototype.handleChanges = function handleChanges(changeRecords) {
var updates = {},
observers = this.observers,
i = changeRecords.length;
change,
observer;

while (i--) {
var change = changeRecords[i],
name = change.name;

if (!(name in updates)) {
var observer = observers[name];
updates[name] = true;
if (observer) {
observer.trigger(change.object[name], change.oldValue);
}
for (var i = 0, ii = changeRecords.length; i < ii; ++i) {
change = changeRecords[i];
updates[change.name] = change;
}

for (var key in updates) {
observer = observers[key], change = updates[key];

if (observer) {
observer.trigger(change.object[key], change.oldValue);
}
}
};
Expand Down
23 changes: 12 additions & 11 deletions dist/es6/property-observation.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,18 +117,19 @@ export class OoObjectObserver {
handleChanges(changeRecords){
var updates = {},
observers = this.observers,
i = changeRecords.length;
change, observer;

while(i--) {
var change = changeRecords[i],
name = change.name;

if(!(name in updates)){
var observer = observers[name];
updates[name] = true;
if(observer){
observer.trigger(change.object[name], change.oldValue);
}
for(var i = 0, ii = changeRecords.length; i < ii; ++i){
change = changeRecords[i];
updates[change.name] = change;
}

for(var key in updates){
observer = observers[key],
change = updates[key];

if(observer){
observer.trigger(change.object[key], change.oldValue);
}
}
}
Expand Down
23 changes: 12 additions & 11 deletions dist/system/property-observation.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,18 +139,19 @@ System.register(['core-js'], function (_export) {
OoObjectObserver.prototype.handleChanges = function handleChanges(changeRecords) {
var updates = {},
observers = this.observers,
i = changeRecords.length;
change,
observer;

while (i--) {
var change = changeRecords[i],
name = change.name;

if (!(name in updates)) {
var observer = observers[name];
updates[name] = true;
if (observer) {
observer.trigger(change.object[name], change.oldValue);
}
for (var i = 0, ii = changeRecords.length; i < ii; ++i) {
change = changeRecords[i];
updates[change.name] = change;
}

for (var key in updates) {
observer = observers[key], change = updates[key];

if (observer) {
observer.trigger(change.object[key], change.oldValue);
}
}
};
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.6.1 (2015-05-06)


#### Bug Fixes

* **property-observation:** better update when in OO mode ([2d8ad7d5](http://github.com/aurelia/binding/commit/2d8ad7d57a543b35be6f6cc5b4792f10e5a5ab30))


## 0.6.0 (2015-04-30)


Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-binding",
"version": "0.6.0",
"version": "0.6.1",
"description": "A modern databinding library for JavaScript and HTML.",
"keywords": [
"aurelia",
Expand All @@ -25,7 +25,7 @@
"lib": "dist/system"
},
"dependencies": {
"aurelia-dependency-injection": "github:aurelia/dependency-injection@^0.7.0",
"aurelia-dependency-injection": "github:aurelia/dependency-injection@^0.7.1",
"aurelia-metadata": "github:aurelia/metadata@^0.5.0",
"aurelia-task-queue": "github:aurelia/task-queue@^0.4.0",
"core-js": "npm:core-js@^0.9.5"
Expand Down

0 comments on commit b76973b

Please sign in to comment.