diff --git a/public/javascripts/socket.js b/public/javascripts/socket.js deleted file mode 100644 index 7db6c913098ae3c561ea143a58f33539b1fb6f4b..0000000000000000000000000000000000000000 --- a/public/javascripts/socket.js +++ /dev/null @@ -1,14 +0,0 @@ -$(document).ready(function(){ - function debug(str){ $("#debug").append("<p>" + str); }; - - ws = new WebSocket("ws://localhost:8080/"); - ws.onmessage = function(evt) { - $("#stream").prepend($(evt.data).fadeIn("fast")); - }; - ws.onclose = function() { debug("socket closed"); }; - ws.onopen = function() { - debug("connected..."); - //ws.send("hello server"); - // ws.send("hello again"); - }; -});