aboutsummaryrefslogtreecommitdiff
path: root/node_modules
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-05-30 22:54:36 -0700
committerJose Antonio Marquez2012-05-30 22:54:36 -0700
commit322532ba45158835f7228f0149ddf6e22215bfa3 (patch)
tree1480485460777b11b7dbf80a91a0be2175beafc9 /node_modules
parent01277e9fe29eee098ed9398b9815eab2d1a52882 (diff)
downloadninja-322532ba45158835f7228f0149ddf6e22215bfa3.tar.gz
Attempting to track clean nodes
Need to figure out CSS overwrite issue <style>
Diffstat (limited to 'node_modules')
-rwxr-xr-xnode_modules/tools/template/template-creator.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/node_modules/tools/template/template-creator.js b/node_modules/tools/template/template-creator.js
index c5d3cffd..646c4171 100755
--- a/node_modules/tools/template/template-creator.js
+++ b/node_modules/tools/template/template-creator.js
@@ -57,6 +57,7 @@ var TemplateCreator = exports.TemplateCreator = Montage.create(Template, /** @le
57 component._element = targetNode; 57 component._element = targetNode;
58 components[label] = component; 58 components[label] = component;
59 componentsChildComponents[label] = component.childComponents; 59 componentsChildComponents[label] = component.childComponents;
60 component._element.setAttribute('data-ninja-node', 'true');
60 delete component.childComponents; 61 delete component.childComponents;
61 } else { 62 } else {
62 for (var i = 0; (childNode = childNodes[i]); i++) { 63 for (var i = 0; (childNode = childNodes[i]); i++) {