diff options
author | Valerio Virgillito | 2012-02-20 15:40:04 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-02-20 15:40:04 -0800 |
commit | f6811b8b7e86bcae16f9278b5a7cfc1ea94e3909 (patch) | |
tree | 7d12d3aca26e15fac2072498d42e2f7478f72719 /js/ninja.reel | |
parent | 7ec06098dcfa969017b73b91a1eec810d05775f8 (diff) | |
parent | bd7bc833895391e4974b8746f31f63ba70689df3 (diff) | |
download | ninja-f6811b8b7e86bcae16f9278b5a7cfc1ea94e3909.tar.gz |
Merge branch 'refs/heads/master' into nested-selection
Diffstat (limited to 'js/ninja.reel')
-rwxr-xr-x | js/ninja.reel/ninja.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/js/ninja.reel/ninja.js b/js/ninja.reel/ninja.js index 43087c39..399d7b4d 100755 --- a/js/ninja.reel/ninja.js +++ b/js/ninja.reel/ninja.js | |||
@@ -60,11 +60,18 @@ exports.Ninja = Montage.create(Component, { | |||
60 | this.eventManager.addEventListener( "onOpenDocument", this, false); | 60 | this.eventManager.addEventListener( "onOpenDocument", this, false); |
61 | 61 | ||
62 | this.addEventListener("change@appModel.livePreview", this.executeLivePreview, false); | 62 | this.addEventListener("change@appModel.livePreview", this.executeLivePreview, false); |
63 | this.addEventListener("change@appModel.chromePreview", this.executeChromePreview, false); | ||
63 | this.addEventListener("change@appModel.debug", this.toggleDebug, false); | 64 | this.addEventListener("change@appModel.debug", this.toggleDebug, false); |
64 | 65 | ||
65 | NJevent("appLoading"); | 66 | NJevent("appLoading"); |
66 | } | 67 | } |
67 | }, | 68 | }, |
69 | |||
70 | executeChromePreview: { | ||
71 | value: function () { | ||
72 | this.application.ninja.documentController.activeDocument.livePreview(); | ||
73 | } | ||
74 | }, | ||
68 | 75 | ||
69 | handleResize: { | 76 | handleResize: { |
70 | value: function() { | 77 | value: function() { |