Skip to content

Commit

Permalink
chore(all): prepare release 0.17.5
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Nov 15, 2015
1 parent 5ee79b7 commit c427a8b
Show file tree
Hide file tree
Showing 14 changed files with 33 additions and 25 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.17.4",
"version": "0.17.5",
"description": "An extensible HTML templating engine supporting databinding, custom elements, attached behaviors and more.",
"keywords": [
"aurelia",
Expand Down
4 changes: 2 additions & 2 deletions dist/amd/aurelia-templating.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1073,9 +1073,9 @@ declare module 'aurelia-templating' {

/**
* Invoked when the view which contains this controller is created.
* @param view The view inside which this controller resides.
* @param owningView The view inside which this controller resides.
*/
created(view: any): void;
created(owningView: any): void;

/**
* Used to automate the proper binding of this controller and its view. Used by the composition engine for dynamic component creation.
Expand Down
4 changes: 2 additions & 2 deletions dist/amd/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -2687,9 +2687,9 @@ define(['exports', 'core-js', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pa
}
}

Controller.prototype.created = function created(view) {
Controller.prototype.created = function created(owningView) {
if (this.behavior.handlesCreated) {
this.viewModel.created(view);
this.viewModel.created(owningView, this.view);
}
};

Expand Down
4 changes: 2 additions & 2 deletions dist/aurelia-templating.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1073,9 +1073,9 @@ declare module 'aurelia-templating' {

/**
* Invoked when the view which contains this controller is created.
* @param view The view inside which this controller resides.
* @param owningView The view inside which this controller resides.
*/
created(view: any): void;
created(owningView: any): void;

/**
* Used to automate the proper binding of this controller and its view. Used by the composition engine for dynamic component creation.
Expand Down
6 changes: 3 additions & 3 deletions dist/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -3241,11 +3241,11 @@ export class Controller {

/**
* Invoked when the view which contains this controller is created.
* @param view The view inside which this controller resides.
* @param owningView The view inside which this controller resides.
*/
created(view): void {
created(owningView): void {
if (this.behavior.handlesCreated) {
this.viewModel.created(view);
this.viewModel.created(owningView, this.view);
}
}

Expand Down
4 changes: 2 additions & 2 deletions dist/commonjs/aurelia-templating.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1073,9 +1073,9 @@ declare module 'aurelia-templating' {

/**
* Invoked when the view which contains this controller is created.
* @param view The view inside which this controller resides.
* @param owningView The view inside which this controller resides.
*/
created(view: any): void;
created(owningView: any): void;

/**
* Used to automate the proper binding of this controller and its view. Used by the composition engine for dynamic component creation.
Expand Down
4 changes: 2 additions & 2 deletions dist/commonjs/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -2708,9 +2708,9 @@ var Controller = (function () {
}
}

Controller.prototype.created = function created(view) {
Controller.prototype.created = function created(owningView) {
if (this.behavior.handlesCreated) {
this.viewModel.created(view);
this.viewModel.created(owningView, this.view);
}
};

Expand Down
4 changes: 2 additions & 2 deletions dist/es6/aurelia-templating.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1073,9 +1073,9 @@ declare module 'aurelia-templating' {

/**
* Invoked when the view which contains this controller is created.
* @param view The view inside which this controller resides.
* @param owningView The view inside which this controller resides.
*/
created(view: any): void;
created(owningView: any): void;

/**
* Used to automate the proper binding of this controller and its view. Used by the composition engine for dynamic component creation.
Expand Down
6 changes: 3 additions & 3 deletions dist/es6/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -3241,11 +3241,11 @@ export class Controller {

/**
* Invoked when the view which contains this controller is created.
* @param view The view inside which this controller resides.
* @param owningView The view inside which this controller resides.
*/
created(view): void {
created(owningView): void {
if (this.behavior.handlesCreated) {
this.viewModel.created(view);
this.viewModel.created(owningView, this.view);
}
}

Expand Down
4 changes: 2 additions & 2 deletions dist/system/aurelia-templating.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1073,9 +1073,9 @@ declare module 'aurelia-templating' {

/**
* Invoked when the view which contains this controller is created.
* @param view The view inside which this controller resides.
* @param owningView The view inside which this controller resides.
*/
created(view: any): void;
created(owningView: any): void;

/**
* Used to automate the proper binding of this controller and its view. Used by the composition engine for dynamic component creation.
Expand Down
4 changes: 2 additions & 2 deletions dist/system/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -2994,9 +2994,9 @@ System.register(['core-js', 'aurelia-logging', 'aurelia-metadata', 'aurelia-path
}
}

Controller.prototype.created = function created(view) {
Controller.prototype.created = function created(owningView) {
if (this.behavior.handlesCreated) {
this.viewModel.created(view);
this.viewModel.created(owningView, 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.17.5 (2015-11-15)


#### Features

* **controller:** pass not only the owningView to the view-model, but the component's view as well ([5ee79b74](http://github.com/aurelia/templating/commit/5ee79b74a3c7c30ebd95ad34a596f7fed5a0d807))


### 0.17.4 (2015-11-12)


Expand Down
2 changes: 1 addition & 1 deletion doc/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -2863,7 +2863,7 @@
"parameters": [
{
"id": 512,
"name": "view",
"name": "owningView",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
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.17.4",
"version": "0.17.5",
"description": "An extensible HTML templating engine supporting databinding, custom elements, attached behaviors and more.",
"keywords": [
"aurelia",
Expand Down

0 comments on commit c427a8b

Please sign in to comment.