diff options
-rw-r--r-- | webchat/hello_web.js | 5 | ||||
-rw-r--r-- | webchat/package.json | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/webchat/hello_web.js b/webchat/hello_web.js index 155a34f3..e1f8f312 100644 --- a/webchat/hello_web.js +++ b/webchat/hello_web.js @@ -24,7 +24,8 @@ var irc_client = new irc.Client('irc.freenode.net', 'kweb', { showErrors: true, port: 6697, autoRejoin: true, - autoConnect: true + autoConnect: true, + stripColors: true }); var reconnect = function() { @@ -88,7 +89,7 @@ var app = connect() res.write('<script src="jquery-2.0.3.min.js"></script>'); res.write('<script src="client.js"></script>'); res.write(krebsimage+'<br>'); - res.write('hello, this is result:<br>'); + res.write('hello, this is #krebs:<br>'); res.write('<table id="chatbox"></table>'); res.end('<input type="text" id="input"><br>'); diff --git a/webchat/package.json b/webchat/package.json index cb264a8c..1a9ad47d 100644 --- a/webchat/package.json +++ b/webchat/package.json @@ -4,7 +4,8 @@ "dependencies": { "connect": "2.11.0", "irc": "0.3.6", - "sockjs": "0.3.8" + "sockjs": "0.3.8", + "redis": "0.9.0" }, "scripts": { "test": "tap test/*.js" |