function UndoManager() {
        var self = this;

        this.undos = [];
        this.redos = [];
    }
/**
     * Manages undo,redo stack, and keyboard events to trigger
     *
     * After an action:
     *
     *  undoManager.performedAction( actionName, undoFunction, redoFunction);
     */
Manages undo,redo stack, and keyboard events to trigger
After an action.


Manages undo redo stack and keyboard events to trigger After an action .
function UndoManager() {
        var self = this;
        this.undos = [];
        this.redos = [];
    }
function UndoManager ( ) { var self = this ; this . undos = [ ] ; this . redos = [ ] ; }
Manages undo,redo stack, and keyboard events to trigger
 After an action:
Manages undo redo stack and keyboard events to trigger After an action :