Skip to content

Commit

Permalink
chore(all): prepare release 0.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Jan 24, 2015
1 parent 07d789f commit 21b71d7
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 6 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-router",
"version": "0.9.0",
"version": "0.9.1",
"description": "An implementation of the RouteLoader interface for use with the router module. Also contains a custom element that allows the templating engine to display the current route.",
"keywords": [
"aurelia",
Expand Down
3 changes: 2 additions & 1 deletion dist/amd/router-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ define(["exports", "aurelia-dependency-injection", "aurelia-templating", "aureli
}

return viewModelInfo.type.load(childContainer, viewModelInfo.value, viewStrategy).then(function (behaviorType) {
viewPortInstruction.behavior = behaviorType.create(childContainer, { executionContext: viewModel });
viewPortInstruction.behavior = behaviorType.create(childContainer, { executionContext: viewModel, suppressBind: true });

if (waitToSwap) {
return;
Expand All @@ -73,6 +73,7 @@ define(["exports", "aurelia-dependency-injection", "aurelia-templating", "aureli
},
swap: {
value: function swap(viewPortInstruction) {
viewPortInstruction.behavior.view.bind(viewPortInstruction.behavior.executionContext);
this.viewSlot.swap(viewPortInstruction.behavior.view);

if (this.view) {
Expand Down
3 changes: 2 additions & 1 deletion dist/commonjs/router-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ var RouterView = (function () {
}

return viewModelInfo.type.load(childContainer, viewModelInfo.value, viewStrategy).then(function (behaviorType) {
viewPortInstruction.behavior = behaviorType.create(childContainer, { executionContext: viewModel });
viewPortInstruction.behavior = behaviorType.create(childContainer, { executionContext: viewModel, suppressBind: true });

if (waitToSwap) {
return;
Expand All @@ -72,6 +72,7 @@ var RouterView = (function () {
},
swap: {
value: function swap(viewPortInstruction) {
viewPortInstruction.behavior.view.bind(viewPortInstruction.behavior.executionContext);
this.viewSlot.swap(viewPortInstruction.behavior.view);

if (this.view) {
Expand Down
3 changes: 2 additions & 1 deletion dist/es6/router-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export class RouterView {
}

return viewModelInfo.type.load(childContainer, viewModelInfo.value, viewStrategy).then(behaviorType => {
viewPortInstruction.behavior = behaviorType.create(childContainer, {executionContext:viewModel});
viewPortInstruction.behavior = behaviorType.create(childContainer, {executionContext:viewModel, suppressBind:true});

if(waitToSwap){
return;
Expand All @@ -42,6 +42,7 @@ export class RouterView {
}

swap(viewPortInstruction){
viewPortInstruction.behavior.view.bind(viewPortInstruction.behavior.executionContext);
this.viewSlot.swap(viewPortInstruction.behavior.view);

if(this.view){
Expand Down
3 changes: 2 additions & 1 deletion dist/system/router-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ System.register(["aurelia-dependency-injection", "aurelia-templating", "aurelia-
}

return viewModelInfo.type.load(childContainer, viewModelInfo.value, viewStrategy).then(function (behaviorType) {
viewPortInstruction.behavior = behaviorType.create(childContainer, { executionContext: viewModel });
viewPortInstruction.behavior = behaviorType.create(childContainer, { executionContext: viewModel, suppressBind: true });

if (waitToSwap) {
return;
Expand All @@ -81,6 +81,7 @@ System.register(["aurelia-dependency-injection", "aurelia-templating", "aurelia-
},
swap: {
value: function swap(viewPortInstruction) {
viewPortInstruction.behavior.view.bind(viewPortInstruction.behavior.executionContext);
this.viewSlot.swap(viewPortInstruction.behavior.view);

if (this.view) {
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.9.1 (2015-01-24)


#### Bug Fixes

* **router-view:** ensure that bind callbacks execute ([07d789fc](http://github.com/aurelia/templating-router/commit/07d789fc4820498218d22c478dff73769a68d940))


## 0.9.0 (2015-01-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-router",
"version": "0.9.0",
"version": "0.9.1",
"description": "An implementation of the RouteLoader interface for use with the router module. Also contains a custom element that allows the templating engine to display the current route.",
"keywords": [
"aurelia",
Expand Down

0 comments on commit 21b71d7

Please sign in to comment.