diff --git a/bower.json b/bower.json
index c7b70110..9b5cfb34 100644
--- a/bower.json
+++ b/bower.json
@@ -1,6 +1,6 @@
{
"name": "aurelia-templating",
- "version": "1.8.2",
+ "version": "1.8.3",
"description": "An extensible HTML templating engine supporting databinding, custom elements, attached behaviors and more.",
"keywords": [
"aurelia",
diff --git a/dist/amd/aurelia-templating.js b/dist/amd/aurelia-templating.js
index 178ff3ae..ce7db458 100644
--- a/dist/amd/aurelia-templating.js
+++ b/dist/amd/aurelia-templating.js
@@ -716,6 +716,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
this.dependencies = config.dependencies || [];
this.factoryIsReady = false;
this.onReady = null;
+ this.moduleId = 'undefined';
}
StaticViewStrategy.prototype.loadViewFactory = function loadViewFactory(viewEngine, compileInstruction, loadContext, target) {
@@ -2277,13 +2278,11 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
var children = this.children;
var ii = children.length;
- if (this.isAttached) {
- for (var i = 0; i < ii; ++i) {
- if (returnToCache) {
- children[i].returnToCache();
- } else {
- children[i].detached();
- }
+ for (var i = 0; i < ii; ++i) {
+ if (returnToCache) {
+ children[i].returnToCache();
+ } else if (this.isAttached) {
+ children[i].detached();
}
}
diff --git a/dist/aurelia-templating.js b/dist/aurelia-templating.js
index abb9b49c..6a773400 100644
--- a/dist/aurelia-templating.js
+++ b/dist/aurelia-templating.js
@@ -990,6 +990,7 @@ export class StaticViewStrategy {
this.dependencies = config.dependencies || [];
this.factoryIsReady = false;
this.onReady = null;
+ this.moduleId = 'undefined';
}
/**
@@ -3036,13 +3037,11 @@ export class ViewSlot {
let children = this.children;
let ii = children.length;
- if (this.isAttached) {
- for (let i = 0; i < ii; ++i) {
- if (returnToCache) {
- children[i].returnToCache();
- } else {
- children[i].detached();
- }
+ for (let i = 0; i < ii; ++i) {
+ if (returnToCache) {
+ children[i].returnToCache();
+ } else if (this.isAttached) {
+ children[i].detached();
}
}
diff --git a/dist/commonjs/aurelia-templating.js b/dist/commonjs/aurelia-templating.js
index 243a98b2..7d8723aa 100644
--- a/dist/commonjs/aurelia-templating.js
+++ b/dist/commonjs/aurelia-templating.js
@@ -697,6 +697,7 @@ var StaticViewStrategy = exports.StaticViewStrategy = (_dec6 = viewStrategy(), _
this.dependencies = config.dependencies || [];
this.factoryIsReady = false;
this.onReady = null;
+ this.moduleId = 'undefined';
}
StaticViewStrategy.prototype.loadViewFactory = function loadViewFactory(viewEngine, compileInstruction, loadContext, target) {
@@ -2258,13 +2259,11 @@ var ViewSlot = exports.ViewSlot = function () {
var children = this.children;
var ii = children.length;
- if (this.isAttached) {
- for (var i = 0; i < ii; ++i) {
- if (returnToCache) {
- children[i].returnToCache();
- } else {
- children[i].detached();
- }
+ for (var i = 0; i < ii; ++i) {
+ if (returnToCache) {
+ children[i].returnToCache();
+ } else if (this.isAttached) {
+ children[i].detached();
}
}
diff --git a/dist/es2015/aurelia-templating.js b/dist/es2015/aurelia-templating.js
index 0769a4a8..6796dfe7 100644
--- a/dist/es2015/aurelia-templating.js
+++ b/dist/es2015/aurelia-templating.js
@@ -578,6 +578,7 @@ export let StaticViewStrategy = (_dec6 = viewStrategy(), _dec6(_class7 = class S
this.dependencies = config.dependencies || [];
this.factoryIsReady = false;
this.onReady = null;
+ this.moduleId = 'undefined';
}
loadViewFactory(viewEngine, compileInstruction, loadContext, target) {
@@ -2040,13 +2041,11 @@ export let ViewSlot = class ViewSlot {
let children = this.children;
let ii = children.length;
- if (this.isAttached) {
- for (let i = 0; i < ii; ++i) {
- if (returnToCache) {
- children[i].returnToCache();
- } else {
- children[i].detached();
- }
+ for (let i = 0; i < ii; ++i) {
+ if (returnToCache) {
+ children[i].returnToCache();
+ } else if (this.isAttached) {
+ children[i].detached();
}
}
diff --git a/dist/native-modules/aurelia-templating.js b/dist/native-modules/aurelia-templating.js
index 989d3856..e1b61976 100644
--- a/dist/native-modules/aurelia-templating.js
+++ b/dist/native-modules/aurelia-templating.js
@@ -660,6 +660,7 @@ export var StaticViewStrategy = (_dec6 = viewStrategy(), _dec6(_class7 = functio
this.dependencies = config.dependencies || [];
this.factoryIsReady = false;
this.onReady = null;
+ this.moduleId = 'undefined';
}
StaticViewStrategy.prototype.loadViewFactory = function loadViewFactory(viewEngine, compileInstruction, loadContext, target) {
@@ -2220,13 +2221,11 @@ export var ViewSlot = function () {
var children = this.children;
var ii = children.length;
- if (this.isAttached) {
- for (var i = 0; i < ii; ++i) {
- if (returnToCache) {
- children[i].returnToCache();
- } else {
- children[i].detached();
- }
+ for (var i = 0; i < ii; ++i) {
+ if (returnToCache) {
+ children[i].returnToCache();
+ } else if (this.isAttached) {
+ children[i].detached();
}
}
diff --git a/dist/system/aurelia-templating.js b/dist/system/aurelia-templating.js
index 64709b40..0d85ff68 100644
--- a/dist/system/aurelia-templating.js
+++ b/dist/system/aurelia-templating.js
@@ -1444,6 +1444,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia-
this.dependencies = config.dependencies || [];
this.factoryIsReady = false;
this.onReady = null;
+ this.moduleId = 'undefined';
}
StaticViewStrategy.prototype.loadViewFactory = function loadViewFactory(viewEngine, compileInstruction, loadContext, target) {
@@ -2974,13 +2975,11 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia-
var children = this.children;
var ii = children.length;
- if (this.isAttached) {
- for (var i = 0; i < ii; ++i) {
- if (returnToCache) {
- children[i].returnToCache();
- } else {
- children[i].detached();
- }
+ for (var i = 0; i < ii; ++i) {
+ if (returnToCache) {
+ children[i].returnToCache();
+ } else if (this.isAttached) {
+ children[i].detached();
}
}
diff --git a/doc/CHANGELOG.md b/doc/CHANGELOG.md
index 7b8fd259..af4d49e8 100644
--- a/doc/CHANGELOG.md
+++ b/doc/CHANGELOG.md
@@ -1,3 +1,13 @@
+
+## [1.8.3](https://github.com/aurelia/templating/compare/1.8.2...1.8.3) (2018-09-07)
+
+
+### Bug Fixes
+
+* **StaticViewStrategy:** set formal ".moduleId" ([86ea2fd](https://github.com/aurelia/templating/commit/86ea2fd))
+
+
+
## [1.8.2](https://github.com/aurelia/templating/compare/1.8.1...1.8.2) (2018-07-17)
diff --git a/package.json b/package.json
index 4414d4f9..f557613f 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "aurelia-templating",
- "version": "1.8.2",
+ "version": "1.8.3",
"description": "An extensible HTML templating engine supporting databinding, custom elements, attached behaviors and more.",
"keywords": [
"aurelia",