aboutsummaryrefslogtreecommitdiff
path: root/js/ninja.reel
diff options
context:
space:
mode:
authorValerio Virgillito2012-05-16 15:32:36 -0700
committerValerio Virgillito2012-05-16 15:32:36 -0700
commitfd54dabad7cbc27a0efb0957155c00d578912909 (patch)
treeb38e0a4bca414a762ea79b97213d48b7fddfac30 /js/ninja.reel
parent13ae16997d4bbca14e255d5989d1c44a76eac72c (diff)
downloadninja-fd54dabad7cbc27a0efb0957155c00d578912909.tar.gz
changing @change to propertyChangeListener
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/ninja.reel')
-rwxr-xr-xjs/ninja.reel/ninja.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/ninja.reel/ninja.js b/js/ninja.reel/ninja.js
index 3fcce925..87167d4c 100755
--- a/js/ninja.reel/ninja.js
+++ b/js/ninja.reel/ninja.js
@@ -165,9 +165,9 @@ exports.Ninja = Montage.create(Component, {
165 this.eventManager.addEventListener( "selectSubTool", this, false); 165 this.eventManager.addEventListener( "selectSubTool", this, false);
166 this.eventManager.addEventListener( "onOpenDocument", this, false); 166 this.eventManager.addEventListener( "onOpenDocument", this, false);
167 167
168 this.addEventListener("change@appModel.livePreview", this.executeLivePreview, false); 168 this.addPropertyChangeListener("appModel.livePreview", this.executeLivePreview, false);
169 this.addEventListener("change@appModel.chromePreview", this.executeChromePreview, false); 169 this.addPropertyChangeListener("appModel.chromePreview", this.executeChromePreview, false);
170 this.addEventListener("change@appModel.debug", this.toggleDebug, false); 170 this.addPropertyChangeListener("appModel.debug", this.toggleDebug, false);
171 171
172 NJevent("appLoading"); 172 NJevent("appLoading");
173 } 173 }