implemented undo 🙌

This commit is contained in:
Kevin Jahns
2017-10-30 11:33:00 +01:00
parent c545118637
commit 0208d83f91
16 changed files with 302 additions and 109 deletions

View File

@@ -4,6 +4,7 @@ import StateStore from './Store/StateStore.js'
import { generateUserID } from './Util/generateUserID.js'
import RootID from './Util/RootID.js'
import NamedEventHandler from './Util/NamedEventHandler.js'
import UndoManager from './Util/UndoManager.js'
import { messageToString, messageToRoomname } from './MessageHandler/messageToString.js'
@@ -132,7 +133,8 @@ Y.XmlFragment = YXmlFragment
Y.XmlText = YXmlText
Y.utils = {
BinaryDecoder
BinaryDecoder,
UndoManager
}
Y.debug = debug