From fefb90426172e1e8fd673b5a4bfabbfc7a5fb4df Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 7 Mar 2016 11:34:16 +0100 Subject: [PATCH] realtime input changes --- www/common/realtime-input.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/www/common/realtime-input.js b/www/common/realtime-input.js index 8a0981bc5..ecd19e015 100644 --- a/www/common/realtime-input.js +++ b/www/common/realtime-input.js @@ -16,7 +16,7 @@ */ define([ '/common/messages.js', - '/common/Netflux.js', + '/common/netflux.js', '/common/crypto.js', '/common/toolbar.js', '/common/sharejs_textarea.js', @@ -74,8 +74,13 @@ define([ }; var start = module.exports.start = - function (textarea, websocketUrl, userName, channel, cryptKey, config) + function (config) { + var textarea = config.textarea; + var websocketUrl = config.websocketURL; + var userName = config.userName; + var channel = config.channel; + var cryptKey = config.cryptKey; var passwd = 'y';