summaryrefslogtreecommitdiffstats
path: root/webchat/hello_web.js
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2013-11-06 16:42:25 +0100
committerlassulus <lassulus@googlemail.com>2013-11-06 16:42:25 +0100
commita91c0194e89604efa816eddba0105db7f66b77e9 (patch)
tree43a2c4b16c027a3d232d1ae76a68736f3d602052 /webchat/hello_web.js
parent1ea4ebba7a392f2a4a369c5693c2eb705958bd77 (diff)
webchat: better krebs
Diffstat (limited to 'webchat/hello_web.js')
-rw-r--r--webchat/hello_web.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/webchat/hello_web.js b/webchat/hello_web.js
index 81048d38..19bfd7be 100644
--- a/webchat/hello_web.js
+++ b/webchat/hello_web.js
@@ -3,7 +3,6 @@ var http = require('https');
var sockjs = require('sockjs');
var connect = require('connect');
var irc = require('irc');
-var krebsimage = require('./krebs-img.js');
var Clients = [];
Clients.broadcast = function(object) {
Clients.forEach(function(client) {
@@ -88,7 +87,7 @@ var app = connect()
res.write('<script src="sockjs-0.3.min.js"></script>');
res.write('<script src="jquery-2.0.3.min.js"></script>');
res.write('<script src="client.js"></script>');
- res.write(krebsimage+'<br>');
+ res.write('<img src="krebs.png"><br>');
res.write('hello, this is #krebs:<br>');
res.write('<table id="chatbox"></table>');
res.end('<input type="text" id="input"><br>');