Map type works with simple update & sync. now going to implement support for syncing existing operation buffers

This commit is contained in:
Kevin Jahns
2015-06-30 15:44:14 +02:00
parent bffbb6ca27
commit b25977be06
9 changed files with 200 additions and 80 deletions

View File

@@ -66,6 +66,9 @@ Y.Memory = (function(){ //eslint-disable-line no-unused-vars
var endSV : StateVector = yield* this.getStateVector();
for (var endState of endSV) {
var user = endState.user;
if (user === "_") {
continue;
}
var startPos = startSS[user] || 0;
var endPos = endState.clock;