aboutsummaryrefslogtreecommitdiff
path: root/js/ninja.reel/ninja.js
diff options
context:
space:
mode:
authorAnanya Sen2012-02-27 17:39:26 -0800
committerAnanya Sen2012-02-27 17:39:26 -0800
commit2edcdd88ffc2f6ff0ea836e4da3e1fd2cb3e856f (patch)
tree18361c8889884ed9c4eb687182ac42afb0d0f13d /js/ninja.reel/ninja.js
parent51ed781953bc44bba3c70938aa57b856394cbc88 (diff)
downloadninja-2edcdd88ffc2f6ff0ea836e4da3e1fd2cb3e856f.tar.gz
persist undo/redo stack per html document
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js/ninja.reel/ninja.js')
-rwxr-xr-xjs/ninja.reel/ninja.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/ninja.reel/ninja.js b/js/ninja.reel/ninja.js
index 6efeef8a..ab9503ec 100755
--- a/js/ninja.reel/ninja.js
+++ b/js/ninja.reel/ninja.js
@@ -98,6 +98,9 @@ exports.Ninja = Montage.create(Component, {
98 if(this._appLoaded && this._preload) { 98 if(this._appLoaded && this._preload) {
99 // App is now deserialized and files are preloaded 99 // App is now deserialized and files are preloaded
100 this.appModel.materials = MaterialsLibrary.materials; 100 this.appModel.materials = MaterialsLibrary.materials;
101
102 this.currentDocument = null;
103
101 } 104 }
102 } 105 }
103 }, 106 },