removed socket.js

This commit is contained in:
ilya 2010-06-26 02:08:19 -04:00
parent ad28f0cf82
commit a7d46bffab

View file

@ -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");
};
});