diff options
author | hwc487 | 2012-06-04 09:15:12 -0700 |
---|---|---|
committer | hwc487 | 2012-06-04 09:15:12 -0700 |
commit | 3f5351c5d75080727953caf5d8d9a312c1c9391b (patch) | |
tree | dcbc2db4e137e115b43a6117331ed1176f85904b /node_modules | |
parent | 4aacbf5d3c7a42a3621eb3ae2723542a455e7720 (diff) | |
parent | 3abba04025dbc0daadb08184833a2558c442b8e1 (diff) | |
download | ninja-3f5351c5d75080727953caf5d8d9a312c1c9391b.tar.gz |
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal into Textures
Diffstat (limited to 'node_modules')
-rw-r--r-- | node_modules/components-data/searchfield.json | 20 | ||||
-rwxr-xr-x | node_modules/tools/template/template-creator.js | 1 |
2 files changed, 1 insertions, 20 deletions
diff --git a/node_modules/components-data/searchfield.json b/node_modules/components-data/searchfield.json deleted file mode 100644 index 94c570d9..00000000 --- a/node_modules/components-data/searchfield.json +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | { | ||
2 | "component": "searchfield", | ||
3 | |||
4 | "module": "montage/ui/textfield.reel", | ||
5 | |||
6 | "name": "Textfield", | ||
7 | |||
8 | "properties": [ | ||
9 | { | ||
10 | "name": "valueBinding", | ||
11 | "type": "string", | ||
12 | "default": null | ||
13 | }, | ||
14 | { | ||
15 | "name": "value", | ||
16 | "type": "string", | ||
17 | "default": "" | ||
18 | } | ||
19 | ] | ||
20 | } \ No newline at end of file | ||
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++) { |