Refactored out TextPatcher and JsonOT and replaced with new ChainPad

This commit is contained in:
Caleb James DeLisle committed 2017-11-09 15:36:49 +01:00
1 parent 7f8147b18b
commit 75130150d5
31 files changed
+82 -1447

No files matched your search

+1 -7
View File
@@ -1,6 +1,5 @@
define([
'jquery',
'/bower_components/textpatcher/TextPatcher.js',
'/common/toolbar3.js',
'json.sortify',
'/common/cryptpad-common.js',
@@ -2940,12 +2939,7 @@ define([
var rt = APP.rt = Listmap.create(listmapConfig);
proxy = rt.proxy;
var onCreate = function (info) {
var realtime = APP.realtime = info.realtime;
APP.patchText = TextPatcher.create({
realtime: realtime,
logging: true,
});
APP.realtime = info.realtime;
metadataMgr = common.getMetadataMgr();