diff options
author | lassulus <lassulus@googlemail.com> | 2013-11-06 16:42:25 +0100 |
---|---|---|
committer | lassulus <lassulus@googlemail.com> | 2013-11-06 16:42:25 +0100 |
commit | a91c0194e89604efa816eddba0105db7f66b77e9 (patch) | |
tree | 43a2c4b16c027a3d232d1ae76a68736f3d602052 /webchat | |
parent | 1ea4ebba7a392f2a4a369c5693c2eb705958bd77 (diff) |
webchat: better krebs
Diffstat (limited to 'webchat')
-rw-r--r-- | webchat/hello_web.js | 3 | ||||
-rw-r--r-- | webchat/krebs-img.js | 6 | ||||
-rw-r--r-- | webchat/public/krebs.png | bin | 0 -> 956 bytes |
3 files changed, 1 insertions, 8 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>'); 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='<img src="data:image/png; charset=unknown;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAADwCAYAAABxLb1rAAAAAXNSR0IArs4c6QAAAAZiS0dEAAAAAAB/OfnX0gAAAAlwSFlzAAA9hAAAPYQB1ayvdAAAAAd0SU1FB9sIFBYiEPmIRMMAAAQ6SURBVHja7dwxaxRBGIDhb+Jx2ptGkSNEOLFQgvXV1oLYGbA48D+ky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NjNNHQwAB7Kfvcc0QQAABBBAQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEBAAAEEEKA/BkawOOO0HUflrkHQUK5kDSdA/sON+GoIIID99M0BGwQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBHB1Dsu9aq7luGy0ut56nDZeY5y2PSRLMkpTQ5gjRewWYwCcAAF65Cczj2SzJnZVUQAAAABJRU5ErkJggg==">' - -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 Binary files differnew file mode 100644 index 00000000..263d5b1c --- /dev/null +++ b/webchat/public/krebs.png |