Skip to content

Commit

Permalink
chore(all): prepare release 1.0.0-beta.1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Jan 9, 2016
1 parent 9b61a68 commit 012f7e3
Show file tree
Hide file tree
Showing 15 changed files with 1,266 additions and 1,153 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": "1.0.0-beta.1.0.2",
"version": "1.0.0-beta.1.0.3",
"description": "An extensible HTML templating engine supporting databinding, custom elements, attached behaviors and more.",
"keywords": [
"aurelia",
Expand Down
29 changes: 15 additions & 14 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ System.config({
},

map: {
"aurelia-binding": "npm:[email protected].3",
"aurelia-dependency-injection": "npm:[email protected]",
"aurelia-loader": "npm:[email protected]",
"aurelia-binding": "npm:[email protected].4",
"aurelia-dependency-injection": "npm:[email protected].0.1",
"aurelia-loader": "npm:[email protected].0.1",
"aurelia-logging": "npm:[email protected]",
"aurelia-metadata": "npm:[email protected]",
"aurelia-pal": "npm:[email protected].1",
"aurelia-pal-browser": "npm:[email protected].1",
"aurelia-pal": "npm:[email protected].2",
"aurelia-pal-browser": "npm:[email protected].3",
"aurelia-path": "npm:[email protected]",
"aurelia-task-queue": "npm:[email protected]",
"babel": "npm:[email protected]",
Expand All @@ -41,31 +41,32 @@ System.config({
"npm:[email protected]": {
"util": "npm:[email protected]"
},
"npm:[email protected].3": {
"npm:[email protected].4": {
"aurelia-metadata": "npm:[email protected]",
"aurelia-pal": "npm:[email protected].1",
"aurelia-pal": "npm:[email protected].2",
"aurelia-task-queue": "npm:[email protected]",
"core-js": "npm:[email protected]"
},
"npm:[email protected]": {
"npm:[email protected].0.1": {
"aurelia-logging": "npm:[email protected]",
"aurelia-metadata": "npm:[email protected]",
"aurelia-pal": "npm:[email protected].1",
"aurelia-pal": "npm:[email protected].2",
"core-js": "npm:[email protected]"
},
"npm:[email protected]": {
"npm:[email protected].0.1": {
"aurelia-metadata": "npm:[email protected]",
"aurelia-path": "npm:[email protected]"
},
"npm:[email protected]": {
"aurelia-pal": "npm:[email protected].1",
"aurelia-pal": "npm:[email protected].2",
"core-js": "npm:[email protected]"
},
"npm:[email protected]": {
"aurelia-pal": "npm:[email protected]"
"npm:[email protected]": {
"aurelia-pal": "npm:[email protected]",
"core-js": "npm:[email protected]"
},
"npm:[email protected]": {
"aurelia-pal": "npm:[email protected].1"
"aurelia-pal": "npm:[email protected].2"
},
"npm:[email protected]": {
"process": "github:jspm/[email protected]"
Expand Down
10 changes: 8 additions & 2 deletions dist/amd/aurelia-templating.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,11 @@ declare module 'aurelia-templating' {
*/
viewResources: ViewResources;

/**
* The view inside which this composition is happening.
*/
owningView?: View;

/**
* The view url or view strategy to override the default view location convention.
*/
Expand Down Expand Up @@ -1170,14 +1175,15 @@ declare module 'aurelia-templating' {
* Invoked when the view which contains this controller is created.
* @param owningView The view inside which this controller resides.
*/
created(owningView: any): void;
created(owningView: View): void;

/**
* Used to automate the proper binding of this controller and its view. Used by the composition engine for dynamic component creation.
* This should be considered a semi-private API and is subject to change without notice, even across minor or patch releases.
* @param overrideContext An override context for binding.
* @param owningView The view inside which this controller resides.
*/
automate(overrideContext?: Object): void;
automate(overrideContext?: Object, owningView?: View): void;

/**
* Binds the controller to the scope.
Expand Down
9 changes: 7 additions & 2 deletions dist/amd/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -2697,10 +2697,15 @@ define(['exports', 'core-js', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pa
}
};

Controller.prototype.automate = function automate(overrideContext) {
Controller.prototype.automate = function automate(overrideContext, owningView) {
this.view.bindingContext = this.viewModel;
this.view.overrideContext = overrideContext || _aureliaBinding.createOverrideContext(this.viewModel);
this.view._isUserControlled = true;

if (this.behavior.handlesCreated) {
this.viewModel.created(owningView || null, this.view);
}

this.bind(this.view);
};

Expand Down Expand Up @@ -3706,7 +3711,7 @@ define(['exports', 'core-js', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pa
context.currentController.unbind();
}

controller.automate();
controller.automate(context.overrideContext, context.owningView);
context.viewSlot.add(controller.view);

return controller;
Expand Down
10 changes: 8 additions & 2 deletions dist/aurelia-templating.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,11 @@ declare module 'aurelia-templating' {
*/
viewResources: ViewResources;

/**
* The view inside which this composition is happening.
*/
owningView?: View;

/**
* The view url or view strategy to override the default view location convention.
*/
Expand Down Expand Up @@ -1170,14 +1175,15 @@ declare module 'aurelia-templating' {
* Invoked when the view which contains this controller is created.
* @param owningView The view inside which this controller resides.
*/
created(owningView: any): void;
created(owningView: View): void;

/**
* Used to automate the proper binding of this controller and its view. Used by the composition engine for dynamic component creation.
* This should be considered a semi-private API and is subject to change without notice, even across minor or patch releases.
* @param overrideContext An override context for binding.
* @param owningView The view inside which this controller resides.
*/
automate(overrideContext?: Object): void;
automate(overrideContext?: Object, owningView?: View): void;

/**
* Binds the controller to the scope.
Expand Down
16 changes: 13 additions & 3 deletions dist/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -3247,7 +3247,7 @@ export class Controller {
* Invoked when the view which contains this controller is created.
* @param owningView The view inside which this controller resides.
*/
created(owningView): void {
created(owningView: View): void {
if (this.behavior.handlesCreated) {
this.viewModel.created(owningView, this.view);
}
Expand All @@ -3257,11 +3257,17 @@ export class Controller {
* Used to automate the proper binding of this controller and its view. Used by the composition engine for dynamic component creation.
* This should be considered a semi-private API and is subject to change without notice, even across minor or patch releases.
* @param overrideContext An override context for binding.
* @param owningView The view inside which this controller resides.
*/
automate(overrideContext?: Object): void {
automate(overrideContext?: Object, owningView?: View): void {
this.view.bindingContext = this.viewModel;
this.view.overrideContext = overrideContext || createOverrideContext(this.viewModel);
this.view._isUserControlled = true;

if(this.behavior.handlesCreated) {
this.viewModel.created(owningView || null, this.view);
}

this.bind(this.view);
}

Expand Down Expand Up @@ -4378,6 +4384,10 @@ interface CompositionContext {
*/
viewResources: ViewResources;
/**
* The view inside which this composition is happening.
*/
owningView?: View;
/**
* The view url or view strategy to override the default view location convention.
*/
view?: string | ViewStrategy;
Expand Down Expand Up @@ -4421,7 +4431,7 @@ export class CompositionEngine {
context.currentController.unbind();
}

controller.automate();
controller.automate(context.overrideContext, context.owningView);
context.viewSlot.add(controller.view);

return controller;
Expand Down
10 changes: 8 additions & 2 deletions dist/commonjs/aurelia-templating.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,11 @@ declare module 'aurelia-templating' {
*/
viewResources: ViewResources;

/**
* The view inside which this composition is happening.
*/
owningView?: View;

/**
* The view url or view strategy to override the default view location convention.
*/
Expand Down Expand Up @@ -1170,14 +1175,15 @@ declare module 'aurelia-templating' {
* Invoked when the view which contains this controller is created.
* @param owningView The view inside which this controller resides.
*/
created(owningView: any): void;
created(owningView: View): void;

/**
* Used to automate the proper binding of this controller and its view. Used by the composition engine for dynamic component creation.
* This should be considered a semi-private API and is subject to change without notice, even across minor or patch releases.
* @param overrideContext An override context for binding.
* @param owningView The view inside which this controller resides.
*/
automate(overrideContext?: Object): void;
automate(overrideContext?: Object, owningView?: View): void;

/**
* Binds the controller to the scope.
Expand Down
9 changes: 7 additions & 2 deletions dist/commonjs/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -2718,10 +2718,15 @@ var Controller = (function () {
}
};

Controller.prototype.automate = function automate(overrideContext) {
Controller.prototype.automate = function automate(overrideContext, owningView) {
this.view.bindingContext = this.viewModel;
this.view.overrideContext = overrideContext || _aureliaBinding.createOverrideContext(this.viewModel);
this.view._isUserControlled = true;

if (this.behavior.handlesCreated) {
this.viewModel.created(owningView || null, this.view);
}

this.bind(this.view);
};

Expand Down Expand Up @@ -3727,7 +3732,7 @@ var CompositionEngine = (function () {
context.currentController.unbind();
}

controller.automate();
controller.automate(context.overrideContext, context.owningView);
context.viewSlot.add(controller.view);

return controller;
Expand Down
10 changes: 8 additions & 2 deletions dist/es6/aurelia-templating.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,11 @@ declare module 'aurelia-templating' {
*/
viewResources: ViewResources;

/**
* The view inside which this composition is happening.
*/
owningView?: View;

/**
* The view url or view strategy to override the default view location convention.
*/
Expand Down Expand Up @@ -1170,14 +1175,15 @@ declare module 'aurelia-templating' {
* Invoked when the view which contains this controller is created.
* @param owningView The view inside which this controller resides.
*/
created(owningView: any): void;
created(owningView: View): void;

/**
* Used to automate the proper binding of this controller and its view. Used by the composition engine for dynamic component creation.
* This should be considered a semi-private API and is subject to change without notice, even across minor or patch releases.
* @param overrideContext An override context for binding.
* @param owningView The view inside which this controller resides.
*/
automate(overrideContext?: Object): void;
automate(overrideContext?: Object, owningView?: View): void;

/**
* Binds the controller to the scope.
Expand Down
16 changes: 13 additions & 3 deletions dist/es6/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -3247,7 +3247,7 @@ export class Controller {
* Invoked when the view which contains this controller is created.
* @param owningView The view inside which this controller resides.
*/
created(owningView): void {
created(owningView: View): void {
if (this.behavior.handlesCreated) {
this.viewModel.created(owningView, this.view);
}
Expand All @@ -3257,11 +3257,17 @@ export class Controller {
* Used to automate the proper binding of this controller and its view. Used by the composition engine for dynamic component creation.
* This should be considered a semi-private API and is subject to change without notice, even across minor or patch releases.
* @param overrideContext An override context for binding.
* @param owningView The view inside which this controller resides.
*/
automate(overrideContext?: Object): void {
automate(overrideContext?: Object, owningView?: View): void {
this.view.bindingContext = this.viewModel;
this.view.overrideContext = overrideContext || createOverrideContext(this.viewModel);
this.view._isUserControlled = true;

if(this.behavior.handlesCreated) {
this.viewModel.created(owningView || null, this.view);
}

this.bind(this.view);
}

Expand Down Expand Up @@ -4378,6 +4384,10 @@ interface CompositionContext {
*/
viewResources: ViewResources;
/**
* The view inside which this composition is happening.
*/
owningView?: View;
/**
* The view url or view strategy to override the default view location convention.
*/
view?: string | ViewStrategy;
Expand Down Expand Up @@ -4421,7 +4431,7 @@ export class CompositionEngine {
context.currentController.unbind();
}

controller.automate();
controller.automate(context.overrideContext, context.owningView);
context.viewSlot.add(controller.view);

return controller;
Expand Down
10 changes: 8 additions & 2 deletions dist/system/aurelia-templating.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,11 @@ declare module 'aurelia-templating' {
*/
viewResources: ViewResources;

/**
* The view inside which this composition is happening.
*/
owningView?: View;

/**
* The view url or view strategy to override the default view location convention.
*/
Expand Down Expand Up @@ -1170,14 +1175,15 @@ declare module 'aurelia-templating' {
* Invoked when the view which contains this controller is created.
* @param owningView The view inside which this controller resides.
*/
created(owningView: any): void;
created(owningView: View): void;

/**
* Used to automate the proper binding of this controller and its view. Used by the composition engine for dynamic component creation.
* This should be considered a semi-private API and is subject to change without notice, even across minor or patch releases.
* @param overrideContext An override context for binding.
* @param owningView The view inside which this controller resides.
*/
automate(overrideContext?: Object): void;
automate(overrideContext?: Object, owningView?: View): void;

/**
* Binds the controller to the scope.
Expand Down
9 changes: 7 additions & 2 deletions dist/system/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -3008,10 +3008,15 @@ System.register(['core-js', 'aurelia-logging', 'aurelia-metadata', 'aurelia-path
}
};

Controller.prototype.automate = function automate(overrideContext) {
Controller.prototype.automate = function automate(overrideContext, owningView) {
this.view.bindingContext = this.viewModel;
this.view.overrideContext = overrideContext || createOverrideContext(this.viewModel);
this.view._isUserControlled = true;

if (this.behavior.handlesCreated) {
this.viewModel.created(owningView || null, this.view);
}

this.bind(this.view);
};

Expand Down Expand Up @@ -3904,7 +3909,7 @@ System.register(['core-js', 'aurelia-logging', 'aurelia-metadata', 'aurelia-path
context.currentController.unbind();
}

controller.automate();
controller.automate(context.overrideContext, context.owningView);
context.viewSlot.add(controller.view);

return controller;
Expand Down
Loading

0 comments on commit 012f7e3

Please sign in to comment.