From a91c0194e89604efa816eddba0105db7f66b77e9 Mon Sep 17 00:00:00 2001 From: lassulus Date: Wed, 6 Nov 2013 16:42:25 +0100 Subject: webchat: better krebs --- webchat/hello_web.js | 3 +-- webchat/krebs-img.js | 6 ------ webchat/public/krebs.png | Bin 0 -> 956 bytes 3 files changed, 1 insertion(+), 8 deletions(-) delete mode 100644 webchat/krebs-img.js create mode 100644 webchat/public/krebs.png (limited to 'webchat') 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(''); res.write(''); res.write(''); - res.write(krebsimage+'
'); + res.write('
'); res.write('hello, this is #krebs:
'); res.write('
'); res.end('
'); diff --git a/webchat/krebs-img.js b/webchat/krebs-img.js deleted file mode 100644 index b7be37da..00000000 --- a/webchat/krebs-img.js +++ /dev/null @@ -1,6 +0,0 @@ -module.exports='' - -function secretfunc(){ - return("you will never use me"); -} -console.log("haha, im a require text message"); diff --git a/webchat/public/krebs.png b/webchat/public/krebs.png new file mode 100644 index 00000000..263d5b1c Binary files /dev/null and b/webchat/public/krebs.png differ -- cgit v1.2.3