diff options
author | Armen Kesablyan | 2012-05-31 22:05:33 -0700 |
---|---|---|
committer | Armen Kesablyan | 2012-05-31 22:05:33 -0700 |
commit | 50ea77b261e1b3676aea2b1ed582d5e6c97a0997 (patch) | |
tree | fd317d8de8eaec728376c60273b1f6a214816e8e /js/document/templates | |
parent | b7e33c16bab26f8ee0daa61f920cfdbcb7abc6e3 (diff) | |
parent | 04ef4ffcfde762a0aead4a7b702f3c019fdbeb69 (diff) | |
download | ninja-50ea77b261e1b3676aea2b1ed582d5e6c97a0997.tar.gz |
Merge pull request #4 from ericguzman/binding
Binding
Diffstat (limited to 'js/document/templates')
-rw-r--r-- | js/document/templates/app/main.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/document/templates/app/main.js b/js/document/templates/app/main.js index a406abdb..91c46fda 100644 --- a/js/document/templates/app/main.js +++ b/js/document/templates/app/main.js | |||
@@ -29,6 +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.element = element; | 33 | componentInstance.element = element; |
33 | 34 | ||
34 | componentInstance.needsDraw = true; | 35 | componentInstance.needsDraw = true; |