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 Jan 8, 2015
1 parent 359749a commit 48a293b
Show file tree
Hide file tree
Showing 7 changed files with 27 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-templating",
"version": "0.6.0",
"version": "0.6.1",
"description": "An extensible HTML templating engine supporting databinding, custom elements, attached behaviors and more.",
"keywords": [
"aurelia",
Expand Down
8 changes: 4 additions & 4 deletions dist/amd/behavior-instance.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ define(["exports"], function (exports) {
this.behaviorType = behaviorType;
this.executionContext = executionContext;

var lookup = observerLocator.getObserversLookup(executionContext), skipSelfSubscriber = behaviorType.handlesBind, attributes = instruction.attributes, boundProperties = this.boundProperties = [], properties = behaviorType.properties, i, ii, prop, selfSubscriber, observer, info, attribute;
var lookup = observerLocator.getObserversLookup(executionContext), skipSelfSubscriber = behaviorType.handlesBind, attributes = instruction.attributes, boundProperties = this.boundProperties = [], properties = behaviorType.properties;

for (i = 0, ii = properties.length; i < ii; ++i) {
prop = properties[i];
properties.forEach(function (prop) {
var selfSubscriber, observer, info, attribute;

if (prop.changeHandler) {
selfSubscriber = function (newValue, oldValue) {
Expand Down Expand Up @@ -45,7 +45,7 @@ define(["exports"], function (exports) {

observer.publishing = true;
observer.selfSubscriber = selfSubscriber;
}
});
};

BehaviorInstance.prototype.created = function (context) {
Expand Down
8 changes: 4 additions & 4 deletions dist/commonjs/behavior-instance.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ var BehaviorInstance = function BehaviorInstance(taskQueue, observerLocator, beh
this.behaviorType = behaviorType;
this.executionContext = executionContext;

var lookup = observerLocator.getObserversLookup(executionContext), skipSelfSubscriber = behaviorType.handlesBind, attributes = instruction.attributes, boundProperties = this.boundProperties = [], properties = behaviorType.properties, i, ii, prop, selfSubscriber, observer, info, attribute;
var lookup = observerLocator.getObserversLookup(executionContext), skipSelfSubscriber = behaviorType.handlesBind, attributes = instruction.attributes, boundProperties = this.boundProperties = [], properties = behaviorType.properties;

for (i = 0, ii = properties.length; i < ii; ++i) {
prop = properties[i];
properties.forEach(function (prop) {
var selfSubscriber, observer, info, attribute;

if (prop.changeHandler) {
selfSubscriber = function (newValue, oldValue) {
Expand Down Expand Up @@ -44,7 +44,7 @@ var BehaviorInstance = function BehaviorInstance(taskQueue, observerLocator, beh

observer.publishing = true;
observer.selfSubscriber = selfSubscriber;
}
});
};

BehaviorInstance.prototype.created = function (context) {
Expand Down
11 changes: 5 additions & 6 deletions dist/es6/behavior-instance.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@ export class BehaviorInstance {
skipSelfSubscriber = behaviorType.handlesBind,
attributes = instruction.attributes,
boundProperties = this.boundProperties = [],
properties = behaviorType.properties,
i, ii, prop, selfSubscriber, observer, info, attribute;

for(i = 0, ii = properties.length; i < ii; ++i){
prop = properties[i];
properties = behaviorType.properties;

properties.forEach(prop => {
var selfSubscriber, observer, info, attribute;

if(prop.changeHandler){
selfSubscriber = (newValue, oldValue) => executionContext[prop.changeHandler](newValue, oldValue);
}
Expand Down Expand Up @@ -51,7 +50,7 @@ export class BehaviorInstance {

observer.publishing = true;
observer.selfSubscriber = selfSubscriber;
}
});
}

created(context){
Expand Down
8 changes: 4 additions & 4 deletions dist/system/behavior-instance.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ System.register([], function (_export) {
this.behaviorType = behaviorType;
this.executionContext = executionContext;

var lookup = observerLocator.getObserversLookup(executionContext), skipSelfSubscriber = behaviorType.handlesBind, attributes = instruction.attributes, boundProperties = this.boundProperties = [], properties = behaviorType.properties, i, ii, prop, selfSubscriber, observer, info, attribute;
var lookup = observerLocator.getObserversLookup(executionContext), skipSelfSubscriber = behaviorType.handlesBind, attributes = instruction.attributes, boundProperties = this.boundProperties = [], properties = behaviorType.properties;

for (i = 0, ii = properties.length; i < ii; ++i) {
prop = properties[i];
properties.forEach(function (prop) {
var selfSubscriber, observer, info, attribute;

if (prop.changeHandler) {
selfSubscriber = function (newValue, oldValue) {
Expand Down Expand Up @@ -49,7 +49,7 @@ System.register([], function (_export) {

observer.publishing = true;
observer.selfSubscriber = selfSubscriber;
}
});
};

BehaviorInstance.prototype.created = function (context) {
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-01-08)


#### Bug Fixes

* **behavior-instance:** classic loop, function var bug ([359749a4](http://github.com/aurelia/templating/commit/359749a43b8cdfc669f4f7c7a9796db3a31d67cd))


## 0.6.0 (2015-01-07)


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

0 comments on commit 48a293b

Please sign in to comment.