Skip to content

Commit

Permalink
chore(all): prepare release 1.0.0-beta.3.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Jun 19, 2016
1 parent ebc2d14 commit d4a211f
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 44 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.3.0.3",
"version": "1.0.0-beta.3.0.4",
"description": "An extensible HTML templating engine supporting databinding, custom elements, attached behaviors and more.",
"keywords": [
"aurelia",
Expand Down
11 changes: 4 additions & 7 deletions dist/amd/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -2459,7 +2459,7 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-metadata', 'aureli
this._compileNode(content, resources, instructions, source, 'root', !compileInstruction.targetShadowDOM);

var firstChild = content.firstChild;
if (firstChild.nodeType === 1) {
if (firstChild && firstChild.nodeType === 1) {
var targetId = firstChild.getAttribute('au-target-id');
if (targetId) {
var ins = instructions[targetId];
Expand Down Expand Up @@ -2989,10 +2989,7 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-metadata', 'aureli
}

_aureliaMetadata.metadata.define(_aureliaMetadata.metadata.resource, conventional, exportedValue);
} else if (conventional = _aureliaBinding.ValueConverterResource.convention(key)) {
resources.push(new ResourceDescription(key, exportedValue, conventional));
_aureliaMetadata.metadata.define(_aureliaMetadata.metadata.resource, conventional, exportedValue);
} else if (conventional = _aureliaBinding.BindingBehaviorResource.convention(key)) {
} else if (conventional = _aureliaBinding.ValueConverterResource.convention(key) || _aureliaBinding.BindingBehaviorResource.convention(key) || ViewEngineHooksResource.convention(key)) {
resources.push(new ResourceDescription(key, exportedValue, conventional));
_aureliaMetadata.metadata.define(_aureliaMetadata.metadata.resource, conventional, exportedValue);
} else if (!fallbackValue) {
Expand Down Expand Up @@ -4230,7 +4227,7 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-metadata', 'aureli
var value = element.au && element.au.controller ? element.au.controller.viewModel : element;

if (this.all) {
var items = this.viewModel[this.property];
var items = this.viewModel[this.property] || (this.viewModel[this.property] = []);
var index = items.indexOf(value);

if (index !== -1) {
Expand All @@ -4251,7 +4248,7 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-metadata', 'aureli
var value = element.au && element.au.controller ? element.au.controller.viewModel : element;

if (this.all) {
var items = this.viewModel[this.property];
var items = this.viewModel[this.property] || (this.viewModel[this.property] = []);
var index = 0;
var prev = element.previousElementSibling;

Expand Down
13 changes: 6 additions & 7 deletions dist/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -2991,7 +2991,7 @@ export class ViewCompiler {
this._compileNode(content, resources, instructions, source, 'root', !compileInstruction.targetShadowDOM);

let firstChild = content.firstChild;
if (firstChild.nodeType === 1) {
if (firstChild && firstChild.nodeType === 1) {
let targetId = firstChild.getAttribute('au-target-id');
if (targetId) {
let ins = instructions[targetId];
Expand Down Expand Up @@ -3589,10 +3589,9 @@ export class ModuleAnalyzer {
}

metadata.define(metadata.resource, conventional, exportedValue);
} else if (conventional = ValueConverterResource.convention(key)) {
resources.push(new ResourceDescription(key, exportedValue, conventional));
metadata.define(metadata.resource, conventional, exportedValue);
} else if (conventional = BindingBehaviorResource.convention(key)) {
} else if (conventional = ValueConverterResource.convention(key)
|| BindingBehaviorResource.convention(key)
|| ViewEngineHooksResource.convention(key)) {
resources.push(new ResourceDescription(key, exportedValue, conventional));
metadata.define(metadata.resource, conventional, exportedValue);
} else if (!fallbackValue) {
Expand Down Expand Up @@ -5000,7 +4999,7 @@ class ChildObserverBinder {
let value = element.au && element.au.controller ? element.au.controller.viewModel : element;

if (this.all) {
let items = this.viewModel[this.property];
let items = (this.viewModel[this.property] || (this.viewModel[this.property] = []));
let index = items.indexOf(value);

if (index !== -1) {
Expand All @@ -5021,7 +5020,7 @@ class ChildObserverBinder {
let value = element.au && element.au.controller ? element.au.controller.viewModel : element;

if (this.all) {
let items = this.viewModel[this.property];
let items = (this.viewModel[this.property] || (this.viewModel[this.property] = []));
let index = 0;
let prev = element.previousElementSibling;

Expand Down
11 changes: 4 additions & 7 deletions dist/commonjs/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -2440,7 +2440,7 @@ var ViewCompiler = exports.ViewCompiler = (_dec7 = (0, _aureliaDependencyInjecti
this._compileNode(content, resources, instructions, source, 'root', !compileInstruction.targetShadowDOM);

var firstChild = content.firstChild;
if (firstChild.nodeType === 1) {
if (firstChild && firstChild.nodeType === 1) {
var targetId = firstChild.getAttribute('au-target-id');
if (targetId) {
var ins = instructions[targetId];
Expand Down Expand Up @@ -2970,10 +2970,7 @@ var ModuleAnalyzer = exports.ModuleAnalyzer = function () {
}

_aureliaMetadata.metadata.define(_aureliaMetadata.metadata.resource, conventional, exportedValue);
} else if (conventional = _aureliaBinding.ValueConverterResource.convention(key)) {
resources.push(new ResourceDescription(key, exportedValue, conventional));
_aureliaMetadata.metadata.define(_aureliaMetadata.metadata.resource, conventional, exportedValue);
} else if (conventional = _aureliaBinding.BindingBehaviorResource.convention(key)) {
} else if (conventional = _aureliaBinding.ValueConverterResource.convention(key) || _aureliaBinding.BindingBehaviorResource.convention(key) || ViewEngineHooksResource.convention(key)) {
resources.push(new ResourceDescription(key, exportedValue, conventional));
_aureliaMetadata.metadata.define(_aureliaMetadata.metadata.resource, conventional, exportedValue);
} else if (!fallbackValue) {
Expand Down Expand Up @@ -4211,7 +4208,7 @@ var ChildObserverBinder = function () {
var value = element.au && element.au.controller ? element.au.controller.viewModel : element;

if (this.all) {
var items = this.viewModel[this.property];
var items = this.viewModel[this.property] || (this.viewModel[this.property] = []);
var index = items.indexOf(value);

if (index !== -1) {
Expand All @@ -4232,7 +4229,7 @@ var ChildObserverBinder = function () {
var value = element.au && element.au.controller ? element.au.controller.viewModel : element;

if (this.all) {
var items = this.viewModel[this.property];
var items = this.viewModel[this.property] || (this.viewModel[this.property] = []);
var index = 0;
var prev = element.previousElementSibling;

Expand Down
11 changes: 4 additions & 7 deletions dist/es2015/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -2220,7 +2220,7 @@ export let ViewCompiler = (_dec7 = inject(BindingLanguage, ViewResources), _dec7
this._compileNode(content, resources, instructions, source, 'root', !compileInstruction.targetShadowDOM);

let firstChild = content.firstChild;
if (firstChild.nodeType === 1) {
if (firstChild && firstChild.nodeType === 1) {
let targetId = firstChild.getAttribute('au-target-id');
if (targetId) {
let ins = instructions[targetId];
Expand Down Expand Up @@ -2738,10 +2738,7 @@ export let ModuleAnalyzer = class ModuleAnalyzer {
}

metadata.define(metadata.resource, conventional, exportedValue);
} else if (conventional = ValueConverterResource.convention(key)) {
resources.push(new ResourceDescription(key, exportedValue, conventional));
metadata.define(metadata.resource, conventional, exportedValue);
} else if (conventional = BindingBehaviorResource.convention(key)) {
} else if (conventional = ValueConverterResource.convention(key) || BindingBehaviorResource.convention(key) || ViewEngineHooksResource.convention(key)) {
resources.push(new ResourceDescription(key, exportedValue, conventional));
metadata.define(metadata.resource, conventional, exportedValue);
} else if (!fallbackValue) {
Expand Down Expand Up @@ -3916,7 +3913,7 @@ let ChildObserverBinder = class ChildObserverBinder {
let value = element.au && element.au.controller ? element.au.controller.viewModel : element;

if (this.all) {
let items = this.viewModel[this.property];
let items = this.viewModel[this.property] || (this.viewModel[this.property] = []);
let index = items.indexOf(value);

if (index !== -1) {
Expand All @@ -3937,7 +3934,7 @@ let ChildObserverBinder = class ChildObserverBinder {
let value = element.au && element.au.controller ? element.au.controller.viewModel : element;

if (this.all) {
let items = this.viewModel[this.property];
let items = this.viewModel[this.property] || (this.viewModel[this.property] = []);
let index = 0;
let prev = element.previousElementSibling;

Expand Down
11 changes: 4 additions & 7 deletions dist/native-modules/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -2405,7 +2405,7 @@ export var ViewCompiler = (_dec7 = inject(BindingLanguage, ViewResources), _dec7
this._compileNode(content, resources, instructions, source, 'root', !compileInstruction.targetShadowDOM);

var firstChild = content.firstChild;
if (firstChild.nodeType === 1) {
if (firstChild && firstChild.nodeType === 1) {
var targetId = firstChild.getAttribute('au-target-id');
if (targetId) {
var ins = instructions[targetId];
Expand Down Expand Up @@ -2935,10 +2935,7 @@ export var ModuleAnalyzer = function () {
}

metadata.define(metadata.resource, conventional, exportedValue);
} else if (conventional = ValueConverterResource.convention(key)) {
resources.push(new ResourceDescription(key, exportedValue, conventional));
metadata.define(metadata.resource, conventional, exportedValue);
} else if (conventional = BindingBehaviorResource.convention(key)) {
} else if (conventional = ValueConverterResource.convention(key) || BindingBehaviorResource.convention(key) || ViewEngineHooksResource.convention(key)) {
resources.push(new ResourceDescription(key, exportedValue, conventional));
metadata.define(metadata.resource, conventional, exportedValue);
} else if (!fallbackValue) {
Expand Down Expand Up @@ -4175,7 +4172,7 @@ var ChildObserverBinder = function () {
var value = element.au && element.au.controller ? element.au.controller.viewModel : element;

if (this.all) {
var items = this.viewModel[this.property];
var items = this.viewModel[this.property] || (this.viewModel[this.property] = []);
var index = items.indexOf(value);

if (index !== -1) {
Expand All @@ -4196,7 +4193,7 @@ var ChildObserverBinder = function () {
var value = element.au && element.au.controller ? element.au.controller.viewModel : element;

if (this.all) {
var items = this.viewModel[this.property];
var items = this.viewModel[this.property] || (this.viewModel[this.property] = []);
var index = 0;
var prev = element.previousElementSibling;

Expand Down
11 changes: 4 additions & 7 deletions dist/system/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -2638,7 +2638,7 @@ System.register(['aurelia-logging', 'aurelia-pal', 'aurelia-metadata', 'aurelia-
this._compileNode(content, resources, instructions, source, 'root', !compileInstruction.targetShadowDOM);

var firstChild = content.firstChild;
if (firstChild.nodeType === 1) {
if (firstChild && firstChild.nodeType === 1) {
var targetId = firstChild.getAttribute('au-target-id');
if (targetId) {
var ins = instructions[targetId];
Expand Down Expand Up @@ -3174,10 +3174,7 @@ System.register(['aurelia-logging', 'aurelia-pal', 'aurelia-metadata', 'aurelia-
}

metadata.define(metadata.resource, conventional, exportedValue);
} else if (conventional = ValueConverterResource.convention(key)) {
resources.push(new ResourceDescription(key, exportedValue, conventional));
metadata.define(metadata.resource, conventional, exportedValue);
} else if (conventional = BindingBehaviorResource.convention(key)) {
} else if (conventional = ValueConverterResource.convention(key) || BindingBehaviorResource.convention(key) || ViewEngineHooksResource.convention(key)) {
resources.push(new ResourceDescription(key, exportedValue, conventional));
metadata.define(metadata.resource, conventional, exportedValue);
} else if (!fallbackValue) {
Expand Down Expand Up @@ -4324,7 +4321,7 @@ System.register(['aurelia-logging', 'aurelia-pal', 'aurelia-metadata', 'aurelia-
var value = element.au && element.au.controller ? element.au.controller.viewModel : element;

if (this.all) {
var items = this.viewModel[this.property];
var items = this.viewModel[this.property] || (this.viewModel[this.property] = []);
var index = items.indexOf(value);

if (index !== -1) {
Expand All @@ -4345,7 +4342,7 @@ System.register(['aurelia-logging', 'aurelia-pal', 'aurelia-metadata', 'aurelia-
var value = element.au && element.au.controller ? element.au.controller.viewModel : element;

if (this.all) {
var items = this.viewModel[this.property];
var items = this.viewModel[this.property] || (this.viewModel[this.property] = []);
var index = 0;
var prev = element.previousElementSibling;

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

0 comments on commit d4a211f

Please sign in to comment.