upgrade to most recent chainpad
This commit is contained in:
parent
8c614f6b25
commit
e039e90a24
@ -1093,6 +1093,7 @@ var handleMessage = ChainPad.handleMessage = function (realtime, msgStr) {
|
|||||||
Common.assert(newUserInterfaceContent === realtime.userInterfaceContent);
|
Common.assert(newUserInterfaceContent === realtime.userInterfaceContent);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (uncommittedPatch.operations.length) {
|
||||||
// push the uncommittedPatch out to the user interface.
|
// push the uncommittedPatch out to the user interface.
|
||||||
for (var i = 0; i < realtime.patchHandlers.length; i++) {
|
for (var i = 0; i < realtime.patchHandlers.length; i++) {
|
||||||
realtime.patchHandlers[i](uncommittedPatch);
|
realtime.patchHandlers[i](uncommittedPatch);
|
||||||
@ -1104,6 +1105,7 @@ var handleMessage = ChainPad.handleMessage = function (realtime, msgStr) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (Common.PARANOIA) { check(realtime); }
|
if (Common.PARANOIA) { check(realtime); }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user