diff options
author | Armen Kesablyan | 2012-06-11 10:45:18 -0700 |
---|---|---|
committer | Armen Kesablyan | 2012-06-11 10:45:18 -0700 |
commit | 555fd6efa605b937800b3979a4c68fa7eb8666ae (patch) | |
tree | af23f60668af28bd496b0aa9995ae24d05500922 /js/document/templates | |
parent | cd8f5e98dd1ba97d81a7f1f2362f9ce481577957 (diff) | |
parent | aaac232727c82361771a0804049ada8fae17a549 (diff) | |
download | ninja-555fd6efa605b937800b3979a4c68fa7eb8666ae.tar.gz |
Merge branch 'binding' of https://github.com/dhg637/ninja-internal into binding
Diffstat (limited to 'js/document/templates')
-rw-r--r-- | js/document/templates/app/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/document/templates/app/main.js b/js/document/templates/app/main.js index 91c46fda..e2bdc1a0 100644 --- a/js/document/templates/app/main.js +++ b/js/document/templates/app/main.js | |||
@@ -29,7 +29,7 @@ exports.Main = Montage.create(Component, { | |||
29 | var componentRequire = component[data.name]; | 29 | var componentRequire = component[data.name]; |
30 | var componentInstance = componentRequire.create(); | 30 | var componentInstance = componentRequire.create(); |
31 | 31 | ||
32 | componentInstance._montage_metadata.label = data.name; | 32 | componentInstance._montage_metadata.label = componentInstance.identifier = data.name; |
33 | componentInstance.element = element; | 33 | componentInstance.element = element; |
34 | 34 | ||
35 | componentInstance.needsDraw = true; | 35 | componentInstance.needsDraw = true; |