|
|
@ -18,10 +18,9 @@ define([
|
|
|
|
'/common/messages.js',
|
|
|
|
'/common/messages.js',
|
|
|
|
'/bower_components/reconnectingWebsocket/reconnecting-websocket.js',
|
|
|
|
'/bower_components/reconnectingWebsocket/reconnecting-websocket.js',
|
|
|
|
'/common/crypto.js',
|
|
|
|
'/common/crypto.js',
|
|
|
|
'/common/TextPatcher.js',
|
|
|
|
|
|
|
|
'/common/chainpad.js',
|
|
|
|
'/common/chainpad.js',
|
|
|
|
'/bower_components/jquery/dist/jquery.min.js',
|
|
|
|
'/bower_components/jquery/dist/jquery.min.js',
|
|
|
|
], function (Messages, ReconnectingWebSocket, Crypto, TextPatcher) {
|
|
|
|
], function (Messages, ReconnectingWebSocket, Crypto) {
|
|
|
|
var $ = window.jQuery;
|
|
|
|
var $ = window.jQuery;
|
|
|
|
var ChainPad = window.ChainPad;
|
|
|
|
var ChainPad = window.ChainPad;
|
|
|
|
var PARANOIA = true;
|
|
|
|
var PARANOIA = true;
|
|
|
@ -262,11 +261,6 @@ define([
|
|
|
|
} // it's working as expected, continue
|
|
|
|
} // it's working as expected, continue
|
|
|
|
}, 200);
|
|
|
|
}, 200);
|
|
|
|
|
|
|
|
|
|
|
|
toReturn.patchText = TextPatcher.create({
|
|
|
|
|
|
|
|
realtime: realtime,
|
|
|
|
|
|
|
|
logging: true
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
realtime.start();
|
|
|
|
realtime.start();
|
|
|
|
debug('started');
|
|
|
|
debug('started');
|
|
|
|
});
|
|
|
|
});
|
|
|
|