|
|
@ -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); }
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|