diff options
author | hwc487 | 2012-06-04 10:21:24 -0700 |
---|---|---|
committer | hwc487 | 2012-06-04 10:21:24 -0700 |
commit | 468b20e7fbc27882f8a37c83afd86d1d06c52afd (patch) | |
tree | 6c2a9c26429c4852961bdabba8f3dad45499be85 /js/controllers/undo-controller.js | |
parent | 3f5351c5d75080727953caf5d8d9a312c1c9391b (diff) | |
parent | c1ec69879028220b0c3f11ad6e24035bf527802c (diff) | |
download | ninja-468b20e7fbc27882f8a37c83afd86d1d06c52afd.tar.gz |
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal into Textures
Diffstat (limited to 'js/controllers/undo-controller.js')
-rwxr-xr-x | js/controllers/undo-controller.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/js/controllers/undo-controller.js b/js/controllers/undo-controller.js index 19cfb6e6..8514df3d 100755 --- a/js/controllers/undo-controller.js +++ b/js/controllers/undo-controller.js | |||
@@ -113,20 +113,12 @@ exports.UndoController = Montage.create( Component, { | |||
113 | 113 | ||
114 | deserializedFromTemplate: { | 114 | deserializedFromTemplate: { |
115 | value: function(){ | 115 | value: function(){ |
116 | this.eventManager.addEventListener( "openDocument", this, false); | ||
117 | this.eventManager.addEventListener( "sendToUndo", this, false); | 116 | this.eventManager.addEventListener( "sendToUndo", this, false); |
118 | this.eventManager.addEventListener( "executeUndo", this, false); | 117 | this.eventManager.addEventListener( "executeUndo", this, false); |
119 | this.eventManager.addEventListener( "executeRedo", this, false); | 118 | this.eventManager.addEventListener( "executeRedo", this, false); |
120 | } | 119 | } |
121 | }, | 120 | }, |
122 | 121 | ||
123 | handleOpenDocument: { | ||
124 | value: function(undoQueue, redoQueue) { | ||
125 | // this._undoQueue = undoQueue; | ||
126 | // this._redoQueue = redoQueue; | ||
127 | } | ||
128 | }, | ||
129 | |||
130 | handleSendToUndo: { | 122 | handleSendToUndo: { |
131 | value: function(event) { | 123 | value: function(event) { |
132 | this.undoQueue.push(event.detail); | 124 | this.undoQueue.push(event.detail); |