add missing semicolons to TextPatcher.js
This commit is contained in:
parent
2fdb4c1255
commit
368d72b337
@ -40,7 +40,7 @@ var diff = function (oldval, newval) {
|
|||||||
toInsert: toInsert,
|
toInsert: toInsert,
|
||||||
toRemove: toRemove
|
toRemove: toRemove
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
|
|
||||||
/* patch accepts a realtime facade and an operation (which might be falsey)
|
/* patch accepts a realtime facade and an operation (which might be falsey)
|
||||||
it applies the operation to the realtime as components (remove/insert)
|
it applies the operation to the realtime as components (remove/insert)
|
||||||
@ -94,7 +94,7 @@ var create = function(config) {
|
|||||||
|
|
||||||
// *** remote -> local changes
|
// *** remote -> local changes
|
||||||
ctx.onPatch(function(pos, length) {
|
ctx.onPatch(function(pos, length) {
|
||||||
content = ctx.getUserDoc()
|
content = ctx.getUserDoc();
|
||||||
});
|
});
|
||||||
|
|
||||||
// propogate()
|
// propogate()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user