aboutsummaryrefslogtreecommitdiff
path: root/js/ninja.reel/ninja.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-05-08 11:11:53 -0700
committerValerio Virgillito2012-05-08 11:11:53 -0700
commit7cdf8b969bf932ddf0604855abe106ef635f901b (patch)
treea8ec804b4624e714bc3a69e2dfc27cde2212cffb /js/ninja.reel/ninja.js
parent13e123bdc73f1dae067978a2732469124cbd1282 (diff)
parent4504972c1f3b9bf1d02a4484a07a8a85cf9ccee2 (diff)
downloadninja-7cdf8b969bf932ddf0604855abe106ef635f901b.tar.gz
Merge pull request #202 from joseeight/Document
Chrome Preview
Diffstat (limited to 'js/ninja.reel/ninja.js')
-rwxr-xr-xjs/ninja.reel/ninja.js9
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;