Clean the code

This commit is contained in:
yflory
2020-04-15 13:22:46 +02:00
parent d41c362d46
commit 88760fde6a
4 changed files with 494 additions and 471 deletions

View File

@@ -58,7 +58,6 @@ define([
editor.save();
var ops = ChainPad.Diff.diff(oldDoc, remoteDoc);
console.log(ops);
var selects = ['selectionStart', 'selectionEnd'].map(function (attr) {
return TextCursor.transformCursor(oldCursor[attr], ops);
});