Added chaining support

Added chaining support for add / change / remove UndoTypes
This commit is contained in:
Oliver Sartun 2014-07-08 19:54:14 +02:00
parent d8bc79d378
commit cabcb80403

View File

@ -483,7 +483,7 @@
* @return {undefined}
*/
function manipulateUndoType (manipType, undoType, fns, undoTypesInstance) {
// manipType
// manipType, passed by the calling function
// 0: add
// 1: change
// 2: remove
@ -521,6 +521,7 @@
delete undoTypesInstance[undoType];
break;
}
return this;
}
/**