diff options
Diffstat (limited to 'js/ninja.reel/ninja.js')
-rwxr-xr-x | js/ninja.reel/ninja.js | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/js/ninja.reel/ninja.js b/js/ninja.reel/ninja.js index edc1efa4..4d7d883d 100755 --- a/js/ninja.reel/ninja.js +++ b/js/ninja.reel/ninja.js | |||
@@ -173,12 +173,17 @@ exports.Ninja = Montage.create(Component, { | |||
173 | } | 173 | } |
174 | }, | 174 | }, |
175 | 175 | ||
176 | |||
177 | //////////////////////////////////////////////////////////////////// | ||
178 | //TODO: Expand method to allow other browsers for preview | ||
176 | executeChromePreview: { | 179 | executeChromePreview: { |
177 | value: function () { | 180 | value: function () { |
178 | this.application.ninja.documentController.activeDocument.livePreview(); | 181 | this.application.ninja.documentController.activeDocument.model.browserPreview('chrome'); |
179 | } | 182 | } |
180 | }, | 183 | }, |
181 | 184 | //////////////////////////////////////////////////////////////////// | |
185 | |||
186 | |||
182 | handleResize: { | 187 | handleResize: { |
183 | value: function() { | 188 | value: function() { |
184 | this.stage.resizeCanvases = true; | 189 | this.stage.resizeCanvases = true; |