diff options
Diffstat (limited to 'public/assets/javascripts/rectangles/util/undostack.js')
| -rw-r--r-- | public/assets/javascripts/rectangles/util/undostack.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/public/assets/javascripts/rectangles/util/undostack.js b/public/assets/javascripts/rectangles/util/undostack.js index 959e3d1..040a4eb 100644 --- a/public/assets/javascripts/rectangles/util/undostack.js +++ b/public/assets/javascripts/rectangles/util/undostack.js @@ -10,6 +10,7 @@ this.pointer++ this.stack[this.pointer] = action this.purge() + this.debug && console.log("push", action.type) } UndoStack.prototype.purge = function(){ if (this.stack.length-1 == this.pointer) return |
