diff options
| author | Jules Laplace <jules@okfoc.us> | 2014-11-05 18:13:59 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2014-11-05 18:13:59 -0500 |
| commit | 22c4fd94cd4b3f5f881f0ad91597b7c208e89eff (patch) | |
| tree | 910f9273c2de0c49b77e411b1c0a6cf5efd8c108 /public/assets/javascripts/rectangles/util/undostack.js | |
| parent | 64748a6d55f1e4d08270367767b631b724833b19 (diff) | |
| parent | 69cf6a5005dcd0e7fcebcc1db9bd290b5fb63ed1 (diff) | |
merge
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 |
