From b9afa81d391f51ea199fc12278b89bdda883dd97 Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Tue, 17 Jul 2012 23:34:57 -0700 Subject: removed left over comments. Signed-off-by: Valerio Virgillito --- js/ninja.reel/ninja.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'js/ninja.reel/ninja.js') diff --git a/js/ninja.reel/ninja.js b/js/ninja.reel/ninja.js index 9fd71b1c..42d15d8b 100755 --- a/js/ninja.reel/ninja.js +++ b/js/ninja.reel/ninja.js @@ -351,6 +351,7 @@ exports.Ninja = Montage.create(Component, { this.ninjaVersion = window.ninjaVersion.ninja.version; this.undoManager = document.application.undoManager = UndoManager.create(); document.application.njUtils = NjUtils; + document.application.model = this.appModel; } }, @@ -376,9 +377,9 @@ exports.Ninja = Montage.create(Component, { this.eventManager.addEventListener("selectTool", this, false); this.eventManager.addEventListener("selectSubTool", this, false); + this.eventManager.addEventListener("executePreview", this, false); this.addPropertyChangeListener("appModel.livePreview", this.executeLivePreview, false); - this.addPropertyChangeListener("appModel.chromePreview", this.executeChromePreview, false); this.addPropertyChangeListener("appModel.debug", this.toggleDebug, false); } }, @@ -387,7 +388,7 @@ exports.Ninja = Montage.create(Component, { //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// //TODO: Expand method to allow other browsers for preview - executeChromePreview: { + handleExecutePreview: { value: function () { //TODO: Make into proper component this.saveOperationScreen = {}; -- cgit v1.2.3