aboutsummaryrefslogtreecommitdiff
path: root/node_modules/tools
diff options
context:
space:
mode:
authorAntónio Afonso2012-05-30 10:34:45 -0700
committerAntónio Afonso2012-05-30 10:34:45 -0700
commite6dbd73e80ac47ae9bfdfdb5bef3263b24a36603 (patch)
tree27b2e95f043f1fbca7adb40be13026e302aa1164 /node_modules/tools
parent75a01802f73e791b082229f065eeb3df6a48a962 (diff)
downloadninja-e6dbd73e80ac47ae9bfdfdb5bef3263b24a36603.tar.gz
Stop adding ids to elements in template creator
This is the fix for Motorola-Mobility/montage#648
Diffstat (limited to 'node_modules/tools')
-rwxr-xr-xnode_modules/tools/template/template-creator.js1
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;