Skip to content

Commit

Permalink
chore(all): prepare release 1.0.0-beta.2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed May 31, 2016
1 parent 4f85ecf commit 51c82a2
Show file tree
Hide file tree
Showing 14 changed files with 892 additions and 660 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.2.0.0",
"version": "1.0.0-beta.2.0.1",
"description": "An extensible HTML templating engine supporting databinding, custom elements, attached behaviors and more.",
"keywords": [
"aurelia",
Expand Down
14 changes: 14 additions & 0 deletions dist/amd/aurelia-templating.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -897,6 +897,20 @@ declare module 'aurelia-templating' {
* @return The binding behavior instance.
*/
getBindingBehavior(name: string): Object;

/**
* Registers a value.
* @param name The name of the value.
* @param value The value.
*/
registerValue(name: string, value: any): void;

/**
* Gets a value.
* @param name The name of the value.
* @return The value.
*/
getValue(name: string): any;
}
export class View {

Expand Down
9 changes: 9 additions & 0 deletions dist/amd/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -1168,6 +1168,7 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-metadata', 'aureli
this.valueConverters = Object.create(null);
this.bindingBehaviors = Object.create(null);
this.attributeMap = Object.create(null);
this.values = Object.create(null);
this.beforeCompile = this.afterCompile = this.beforeCreate = this.afterCreate = this.beforeBind = this.beforeUnbind = false;
}

Expand Down Expand Up @@ -1279,6 +1280,14 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-metadata', 'aureli
return this.bindingBehaviors[name] || (this.hasParent ? this.parent.getBindingBehavior(name) : null);
};

ViewResources.prototype.registerValue = function registerValue(name, value) {
register(this.values, name, value, 'a value');
};

ViewResources.prototype.getValue = function getValue(name) {
return this.values[name] || (this.hasParent ? this.parent.getValue(name) : null);
};

return ViewResources;
}();

Expand Down
14 changes: 14 additions & 0 deletions dist/aurelia-templating.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -897,6 +897,20 @@ declare module 'aurelia-templating' {
* @return The binding behavior instance.
*/
getBindingBehavior(name: string): Object;

/**
* Registers a value.
* @param name The name of the value.
* @param value The value.
*/
registerValue(name: string, value: any): void;

/**
* Gets a value.
* @param name The name of the value.
* @return The value.
*/
getValue(name: string): any;
}
export class View {

Expand Down
19 changes: 19 additions & 0 deletions dist/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -1442,6 +1442,7 @@ export class ViewResources {
this.valueConverters = Object.create(null);
this.bindingBehaviors = Object.create(null);
this.attributeMap = Object.create(null);
this.values = Object.create(null);
this.beforeCompile = this.afterCompile = this.beforeCreate = this.afterCreate = this.beforeBind = this.beforeUnbind = false;
}

Expand Down Expand Up @@ -1616,6 +1617,24 @@ export class ViewResources {
getBindingBehavior(name: string): Object {
return this.bindingBehaviors[name] || (this.hasParent ? this.parent.getBindingBehavior(name) : null);
}

/**
* Registers a value.
* @param name The name of the value.
* @param value The value.
*/
registerValue(name: string, value: any): void {
register(this.values, name, value, 'a value');
}

/**
* Gets a value.
* @param name The name of the value.
* @return The value.
*/
getValue(name: string): any {
return this.values[name] || (this.hasParent ? this.parent.getValue(name) : null);
}
}

/* eslint no-unused-vars: 0, no-constant-condition: 0 */
Expand Down
14 changes: 14 additions & 0 deletions dist/commonjs/aurelia-templating.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -897,6 +897,20 @@ declare module 'aurelia-templating' {
* @return The binding behavior instance.
*/
getBindingBehavior(name: string): Object;

/**
* Registers a value.
* @param name The name of the value.
* @param value The value.
*/
registerValue(name: string, value: any): void;

/**
* Gets a value.
* @param name The name of the value.
* @return The value.
*/
getValue(name: string): any;
}
export class View {

Expand Down
9 changes: 9 additions & 0 deletions dist/commonjs/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -1145,6 +1145,7 @@ var ViewResources = exports.ViewResources = function () {
this.valueConverters = Object.create(null);
this.bindingBehaviors = Object.create(null);
this.attributeMap = Object.create(null);
this.values = Object.create(null);
this.beforeCompile = this.afterCompile = this.beforeCreate = this.afterCreate = this.beforeBind = this.beforeUnbind = false;
}

Expand Down Expand Up @@ -1256,6 +1257,14 @@ var ViewResources = exports.ViewResources = function () {
return this.bindingBehaviors[name] || (this.hasParent ? this.parent.getBindingBehavior(name) : null);
};

ViewResources.prototype.registerValue = function registerValue(name, value) {
register(this.values, name, value, 'a value');
};

ViewResources.prototype.getValue = function getValue(name) {
return this.values[name] || (this.hasParent ? this.parent.getValue(name) : null);
};

return ViewResources;
}();

Expand Down
14 changes: 14 additions & 0 deletions dist/es2015/aurelia-templating.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -897,6 +897,20 @@ declare module 'aurelia-templating' {
* @return The binding behavior instance.
*/
getBindingBehavior(name: string): Object;

/**
* Registers a value.
* @param name The name of the value.
* @param value The value.
*/
registerValue(name: string, value: any): void;

/**
* Gets a value.
* @param name The name of the value.
* @return The value.
*/
getValue(name: string): any;
}
export class View {

Expand Down
9 changes: 9 additions & 0 deletions dist/es2015/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -990,6 +990,7 @@ export let ViewResources = class ViewResources {
this.valueConverters = Object.create(null);
this.bindingBehaviors = Object.create(null);
this.attributeMap = Object.create(null);
this.values = Object.create(null);
this.beforeCompile = this.afterCompile = this.beforeCreate = this.afterCreate = this.beforeBind = this.beforeUnbind = false;
}

Expand Down Expand Up @@ -1100,6 +1101,14 @@ export let ViewResources = class ViewResources {
getBindingBehavior(name) {
return this.bindingBehaviors[name] || (this.hasParent ? this.parent.getBindingBehavior(name) : null);
}

registerValue(name, value) {
register(this.values, name, value, 'a value');
}

getValue(name) {
return this.values[name] || (this.hasParent ? this.parent.getValue(name) : null);
}
};

export let View = class View {
Expand Down
14 changes: 14 additions & 0 deletions dist/system/aurelia-templating.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -897,6 +897,20 @@ declare module 'aurelia-templating' {
* @return The binding behavior instance.
*/
getBindingBehavior(name: string): Object;

/**
* Registers a value.
* @param name The name of the value.
* @param value The value.
*/
registerValue(name: string, value: any): void;

/**
* Gets a value.
* @param name The name of the value.
* @return The value.
*/
getValue(name: string): any;
}
export class View {

Expand Down
9 changes: 9 additions & 0 deletions dist/system/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -1654,6 +1654,7 @@ System.register(['aurelia-logging', 'aurelia-pal', 'aurelia-metadata', 'aurelia-
this.valueConverters = Object.create(null);
this.bindingBehaviors = Object.create(null);
this.attributeMap = Object.create(null);
this.values = Object.create(null);
this.beforeCompile = this.afterCompile = this.beforeCreate = this.afterCreate = this.beforeBind = this.beforeUnbind = false;
}

Expand Down Expand Up @@ -1765,6 +1766,14 @@ System.register(['aurelia-logging', 'aurelia-pal', 'aurelia-metadata', 'aurelia-
return this.bindingBehaviors[name] || (this.hasParent ? this.parent.getBindingBehavior(name) : null);
};

ViewResources.prototype.registerValue = function registerValue(name, value) {
register(this.values, name, value, 'a value');
};

ViewResources.prototype.getValue = function getValue(name) {
return this.values[name] || (this.hasParent ? this.parent.getValue(name) : null);
};

return ViewResources;
}());

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 @@
### 1.0.0-beta.2.0.1 (2016-05-31)


#### Features

* **view-resources:** enable arbitrary named value resolution ([4f85ecf9](http://github.com/aurelia/templating/commit/4f85ecf97a3176e6f3d61a554e5351562771af38))


### 1.0.0-beta.2.0.0 (2016-05-23)

* Shadow DOM v1 Slots Implementation
Expand Down
Loading

0 comments on commit 51c82a2

Please sign in to comment.