From 5cead3fad336fda4058735e92af43e06da4de383 Mon Sep 17 00:00:00 2001 From: ansuz Date: Tue, 12 Apr 2016 14:51:06 +0200 Subject: [PATCH] add missing semicolons to TextPatcher.js --- www/common/TextPatcher.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/common/TextPatcher.js b/www/common/TextPatcher.js index 87cefa9dc..66858826d 100644 --- a/www/common/TextPatcher.js +++ b/www/common/TextPatcher.js @@ -40,7 +40,7 @@ var diff = function (oldval, newval) { toInsert: toInsert, toRemove: toRemove }; -} +}; /* patch accepts a realtime facade and an operation (which might be falsey) it applies the operation to the realtime as components (remove/insert) @@ -94,7 +94,7 @@ var create = function(config) { // *** remote -> local changes ctx.onPatch(function(pos, length) { - content = ctx.getUserDoc() + content = ctx.getUserDoc(); }); // propogate()