diff options
author | Valerio Virgillito | 2012-02-01 23:53:47 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-02-02 15:33:42 -0800 |
commit | 1a8bcab85cd71447bbd1b66daf95d1c8fbca8c2b (patch) | |
tree | e1eacd90f25041a6ad7e07b32bda226bb706f022 /js/ninja.reel | |
parent | 7e23cfe542f29148ed315586830785de59201f92 (diff) | |
download | ninja-1a8bcab85cd71447bbd1b66daf95d1c8fbca8c2b.tar.gz |
Fixes for montage integration
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/ninja.reel')
-rw-r--r-- | js/ninja.reel/ninja.js | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/js/ninja.reel/ninja.js b/js/ninja.reel/ninja.js index 7115b228..48c72a1d 100644 --- a/js/ninja.reel/ninja.js +++ b/js/ninja.reel/ninja.js | |||
@@ -96,9 +96,16 @@ exports.Ninja = Montage.create(Component, { | |||
96 | } | 96 | } |
97 | }, | 97 | }, |
98 | 98 | ||
99 | _didDraw: { | ||
100 | value: false | ||
101 | }, | ||
102 | |||
99 | didDraw: { | 103 | didDraw: { |
100 | value: function() { | 104 | value: function() { |
101 | NJevent("appLoaded"); | 105 | if(!this._didDraw) { |
106 | NJevent("appLoaded"); | ||
107 | this._didDraw = true; | ||
108 | } | ||
102 | } | 109 | } |
103 | }, | 110 | }, |
104 | 111 | ||
@@ -165,12 +172,6 @@ exports.Ninja = Montage.create(Component, { | |||
165 | } | 172 | } |
166 | }, | 173 | }, |
167 | 174 | ||
168 | handleLivePreview: { | ||
169 | value: function(event) { | ||
170 | |||
171 | } | ||
172 | }, | ||
173 | |||
174 | executeLivePreview: { | 175 | executeLivePreview: { |
175 | value: function() { | 176 | value: function() { |
176 | var background, overflow, transitionStopRule; | 177 | var background, overflow, transitionStopRule; |