diff options
author | Valerio Virgillito | 2012-02-21 17:33:11 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-02-21 17:33:11 -0800 |
commit | 2f24dafec79583547fe663d5a387d8ef15aae3bf (patch) | |
tree | bd060f29cfc38c3d9707bdbc2033e9bd988a8875 /js/ninja.reel/ninja.js | |
parent | 1d2c928c35ccc7cd875a329b2e235f34eb4f0c0d (diff) | |
download | ninja-2f24dafec79583547fe663d5a387d8ef15aae3bf.tar.gz |
user document main reel listener moved to the html-document class.
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/ninja.reel/ninja.js')
-rwxr-xr-x | js/ninja.reel/ninja.js | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/js/ninja.reel/ninja.js b/js/ninja.reel/ninja.js index 399d7b4d..6efeef8a 100755 --- a/js/ninja.reel/ninja.js +++ b/js/ninja.reel/ninja.js | |||
@@ -168,19 +168,10 @@ exports.Ninja = Montage.create(Component, { | |||
168 | 168 | ||
169 | this.appModel.show3dGrid = this.currentDocument.draw3DGrid; | 169 | this.appModel.show3dGrid = this.currentDocument.draw3DGrid; |
170 | 170 | ||
171 | this.currentDocument._document.body.addEventListener("userTemplateDidLoad", this.userTemplateDidLoad.bind(this), false); | ||
172 | |||
173 | |||
174 | NJevent("openDocument"); | 171 | NJevent("openDocument"); |
175 | } | 172 | } |
176 | }, | 173 | }, |
177 | 174 | ||
178 | userTemplateDidLoad: { | ||
179 | value: function(){ | ||
180 | this.currentSelectedContainer = this.currentDocument.documentRoot; | ||
181 | } | ||
182 | }, | ||
183 | |||
184 | executeLivePreview: { | 175 | executeLivePreview: { |
185 | value: function() { | 176 | value: function() { |
186 | var background, overflow, transitionStopRule; | 177 | var background, overflow, transitionStopRule; |