diff --git a/modules/core/src/compiler/view.js b/modules/core/src/compiler/view.js index 8dcaccb7d8..61c7fcd8f7 100644 --- a/modules/core/src/compiler/view.js +++ b/modules/core/src/compiler/view.js @@ -275,11 +275,12 @@ export class ProtoView { } var viewNodes; if (this.isTemplateElement) { - var childNodes = rootElementClone.content.childNodes; - // Note: An explicit loop is the fastes way to convert a DOM array into a JS array! - viewNodes = ListWrapper.createFixedSize(childNodes.length); - for (var i=0; i