diff options
author | Armen Kesablyan | 2012-06-25 14:05:38 -0700 |
---|---|---|
committer | Armen Kesablyan | 2012-06-25 14:05:38 -0700 |
commit | b73e0aa2cffa3ffd2b574645f6ec88dc34726caa (patch) | |
tree | 7b84872cf02096ee46e5a8537cd2299bf2d5f046 /js/document/templates/app | |
parent | 446f475c35e3d0d5d6cb6ca35346e548de6c36f9 (diff) | |
download | ninja-b73e0aa2cffa3ffd2b574645f6ec88dc34726caa.tar.gz |
Can bind Multiple instance
Signed-off-by: Armen Kesablyan <armen@motorola.com>
Diffstat (limited to 'js/document/templates/app')
-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 7737ae4c..0da1b87e 100644 --- a/js/document/templates/app/main.js +++ b/js/document/templates/app/main.js | |||
@@ -61,7 +61,7 @@ exports.Main = Montage.create(Component, { | |||
61 | var componentRequire = component[data.name]; | 61 | var componentRequire = component[data.name]; |
62 | var componentInstance = componentRequire.create(); | 62 | var componentInstance = componentRequire.create(); |
63 | 63 | ||
64 | componentInstance._montage_metadata.label = componentInstance.identifier = data.name; | 64 | componentInstance.identifier = data.identifier; |
65 | componentInstance.addEventListener("firstDraw", self, false); | 65 | componentInstance.addEventListener("firstDraw", self, false); |
66 | 66 | ||
67 | componentInstance.element = element; | 67 | componentInstance.element = element; |