Skip to content

Commit

Permalink
chore(all): prepare release 1.0.0-rc.1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Jul 24, 2016
1 parent 0a54353 commit 00846c1
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 20 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-rc.1.0.1",
"version": "1.0.0-rc.1.0.2",
"description": "An extensible HTML templating engine supporting databinding, custom elements, attached behaviors and more.",
"keywords": [
"aurelia",
Expand Down
6 changes: 3 additions & 3 deletions dist/amd/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli

viewStrategy.assert(value);

if (_origin) {
if (_origin.moduleId) {
value.makeRelativeTo(_origin.moduleId);
}

Expand All @@ -703,12 +703,12 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
var strategy = _aureliaMetadata.metadata.get(ViewLocator.viewStrategyMetadataKey, value);

if (!strategy) {
if (!origin) {
if (!origin.moduleId) {
throw new Error('Cannot determine default view strategy for object.', value);
}

strategy = this.createFallbackViewStrategy(origin);
} else if (origin) {
} else if (origin.moduleId) {
strategy.moduleId = origin.moduleId;
}

Expand Down
6 changes: 3 additions & 3 deletions dist/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,7 @@ export class ViewLocator {

viewStrategy.assert(value);

if (origin) {
if (origin.moduleId) {
value.makeRelativeTo(origin.moduleId);
}

Expand All @@ -960,12 +960,12 @@ export class ViewLocator {
let strategy = metadata.get(ViewLocator.viewStrategyMetadataKey, value);

if (!strategy) {
if (!origin) {
if (!origin.moduleId) {
throw new Error('Cannot determine default view strategy for object.', value);
}

strategy = this.createFallbackViewStrategy(origin);
} else if (origin) {
} else if (origin.moduleId) {
strategy.moduleId = origin.moduleId;
}

Expand Down
6 changes: 3 additions & 3 deletions dist/commonjs/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ var ViewLocator = exports.ViewLocator = (_temp2 = _class10 = function () {

viewStrategy.assert(value);

if (_origin) {
if (_origin.moduleId) {
value.makeRelativeTo(_origin.moduleId);
}

Expand All @@ -684,12 +684,12 @@ var ViewLocator = exports.ViewLocator = (_temp2 = _class10 = function () {
var strategy = _aureliaMetadata.metadata.get(ViewLocator.viewStrategyMetadataKey, value);

if (!strategy) {
if (!origin) {
if (!origin.moduleId) {
throw new Error('Cannot determine default view strategy for object.', value);
}

strategy = this.createFallbackViewStrategy(origin);
} else if (origin) {
} else if (origin.moduleId) {
strategy.moduleId = origin.moduleId;
}

Expand Down
6 changes: 3 additions & 3 deletions dist/es2015/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ export let ViewLocator = (_temp2 = _class10 = class ViewLocator {

viewStrategy.assert(value);

if (origin) {
if (origin.moduleId) {
value.makeRelativeTo(origin.moduleId);
}

Expand All @@ -557,12 +557,12 @@ export let ViewLocator = (_temp2 = _class10 = class ViewLocator {
let strategy = metadata.get(ViewLocator.viewStrategyMetadataKey, value);

if (!strategy) {
if (!origin) {
if (!origin.moduleId) {
throw new Error('Cannot determine default view strategy for object.', value);
}

strategy = this.createFallbackViewStrategy(origin);
} else if (origin) {
} else if (origin.moduleId) {
strategy.moduleId = origin.moduleId;
}

Expand Down
6 changes: 3 additions & 3 deletions dist/native-modules/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ export var ViewLocator = (_temp2 = _class10 = function () {

viewStrategy.assert(value);

if (_origin) {
if (_origin.moduleId) {
value.makeRelativeTo(_origin.moduleId);
}

Expand All @@ -650,12 +650,12 @@ export var ViewLocator = (_temp2 = _class10 = function () {
var strategy = metadata.get(ViewLocator.viewStrategyMetadataKey, value);

if (!strategy) {
if (!origin) {
if (!origin.moduleId) {
throw new Error('Cannot determine default view strategy for object.', value);
}

strategy = this.createFallbackViewStrategy(origin);
} else if (origin) {
} else if (origin.moduleId) {
strategy.moduleId = origin.moduleId;
}

Expand Down
6 changes: 3 additions & 3 deletions dist/system/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -1186,7 +1186,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia-

viewStrategy.assert(value);

if (_origin) {
if (_origin.moduleId) {
value.makeRelativeTo(_origin.moduleId);
}

Expand All @@ -1209,12 +1209,12 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia-
var strategy = metadata.get(ViewLocator.viewStrategyMetadataKey, value);

if (!strategy) {
if (!origin) {
if (!origin.moduleId) {
throw new Error('Cannot determine default view strategy for object.', value);
}

strategy = this.createFallbackViewStrategy(origin);
} else if (origin) {
} else if (origin.moduleId) {
strategy.moduleId = origin.moduleId;
}

Expand Down
10 changes: 10 additions & 0 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<a name="1.0.0-rc.1.0.2"></a>
# [1.0.0-rc.1.0.2](https://github.com/aurelia/templating/compare/1.0.0-rc.1.0.1...v1.0.0-rc.1.0.2) (2016-07-24)


### Bug Fixes

* **view-locator:** check 'origin.moduleId' instead of 'origin' ([9a4f587](https://github.com/aurelia/templating/commit/9a4f587))



<a name="1.0.0-rc.1.0.1"></a>
# [1.0.0-rc.1.0.1](https://github.com/aurelia/templating/compare/1.0.0-rc.1.0.0...v1.0.0-rc.1.0.1) (2016-07-12)

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

0 comments on commit 00846c1

Please sign in to comment.