Skip to content

Instantly share code, notes, and snippets.

View AmyLowe's full-sized avatar

Amy Lowe AmyLowe

View GitHub Profile
@dsamarin
dsamarin / UndoStack.js
Created July 5, 2012 00:37
Easy undo-redo in JavaScript.
function UndoItem (perform, data) {
this.perform = perform;
this.data = data;
}
/**
* UndoStack:
* Easy undo-redo in JavaScript.
**/