diff options
author | Jose Antonio Marquez | 2012-05-08 10:37:38 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-05-08 10:37:38 -0700 |
commit | 4504972c1f3b9bf1d02a4484a07a8a85cf9ccee2 (patch) | |
tree | e55fbbee42164d4d085d4ce479ce4477c03b79c9 /js/ninja.reel | |
parent | 4d949f141247215b5f2a6ec0cfc7d2d31cf2bb1f (diff) | |
download | ninja-4504972c1f3b9bf1d02a4484a07a8a85cf9ccee2.tar.gz |
Adding Chrome Preview
Diffstat (limited to 'js/ninja.reel')
-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; |