diff options
author | Valerio Virgillito | 2012-06-26 13:15:26 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-06-26 13:15:26 -0700 |
commit | 87a8b62f71bb72274c3dd1fa389e88c12d482ebb (patch) | |
tree | bf9f995e2972c0a61355f24e64231cdf0b2c86b5 /js/document/templates/app | |
parent | 8821e662484aedb027e26a873883e6ca3fb55a51 (diff) | |
parent | a95bba25c3ba6e31784a452e9b94748cc870ba5d (diff) | |
download | ninja-87a8b62f71bb72274c3dd1fa389e88c12d482ebb.tar.gz |
Merge pull request #323 from dhg637/binding
Binding View - Binding Tool & Binding Panel
Diffstat (limited to 'js/document/templates/app')
-rw-r--r-- | js/document/templates/app/main.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/js/document/templates/app/main.js b/js/document/templates/app/main.js index 8dc05ba5..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 | 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; |
@@ -69,8 +69,6 @@ exports.Main = Montage.create(Component, { | |||
69 | componentInstance.ownerComponent = self; | 69 | componentInstance.ownerComponent = self; |
70 | 70 | ||
71 | self.componentToInsert = componentInstance; | 71 | self.componentToInsert = componentInstance; |
72 | |||
73 | |||
74 | callback(componentInstance, element); | 72 | callback(componentInstance, element); |
75 | }) | 73 | }) |
76 | .end(); | 74 | .end(); |