From 4f426651ad15b32c32cb26a376f14f1cc75b66ea Mon Sep 17 00:00:00 2001 From: ansuz Date: Thu, 21 Apr 2016 17:41:50 +0200 Subject: [PATCH] remove TextPatcher from RealtimeTextSocket --- www/common/RealtimeTextSocket.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/www/common/RealtimeTextSocket.js b/www/common/RealtimeTextSocket.js index 28012cce8..cdbeb1d8d 100644 --- a/www/common/RealtimeTextSocket.js +++ b/www/common/RealtimeTextSocket.js @@ -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; @@ -262,11 +261,6 @@ define([ } // it's working as expected, continue }, 200); - toReturn.patchText = TextPatcher.create({ - realtime: realtime, - logging: true - }); - realtime.start(); debug('started'); });