implement text patching at application layer
This commit is contained in:
parent
4a41575e6d
commit
cb979844f6
1 changed files with 1 additions and 8 deletions
|
@ -18,10 +18,9 @@ define([
|
|||
'/common/messages.js',
|
||||
'/bower_components/reconnectingWebsocket/reconnecting-websocket.js',
|
||||
'/common/crypto.js',
|
||||
'/common/TextPatcher.js',
|
||||
'/common/chainpad.js',
|
||||
'/bower_components/jquery/dist/jquery.min.js',
|
||||
], function (Messages, ReconnectingWebSocket, Crypto, TextPatcher) {
|
||||
], function (Messages, ReconnectingWebSocket, Crypto) {
|
||||
var $ = window.jQuery;
|
||||
var ChainPad = window.ChainPad;
|
||||
var PARANOIA = true;
|
||||
|
@ -200,12 +199,6 @@ define([
|
|||
}
|
||||
},200);
|
||||
|
||||
// TODO implement callbacks and replace sharejs entirely
|
||||
toReturn.patchText = TextPatcher.create({
|
||||
realtime: realtime,
|
||||
logging: true
|
||||
});
|
||||
|
||||
realtime.start();
|
||||
});
|
||||
return toReturn;
|
||||
|
|
Loading…
Reference in a new issue