diff options
-rwxr-xr-x | node_modules/tools/template/template-creator.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/node_modules/tools/template/template-creator.js b/node_modules/tools/template/template-creator.js index dc6b1190..4ba1b443 100755 --- a/node_modules/tools/template/template-creator.js +++ b/node_modules/tools/template/template-creator.js | |||
@@ -51,7 +51,6 @@ var TemplateCreator = exports.TemplateCreator = Montage.create(Template, /** @le | |||
51 | component = isRootNode ? null : sourceNode.controller; | 51 | component = isRootNode ? null : sourceNode.controller; |
52 | 52 | ||
53 | if (component) { | 53 | if (component) { |
54 | targetNode.setAttribute("id", label); | ||
55 | label = self._generateLabelForComponent(component, Object.keys(components)); | 54 | label = self._generateLabelForComponent(component, Object.keys(components)); |
56 | component._element = targetNode; | 55 | component._element = targetNode; |
57 | components[label] = component; | 56 | components[label] = component; |