Fixes, rate limiting

This commit is contained in:
calzoneman 2013-06-04 18:22:05 -04:00
parent cfc866400c
commit 2c57d2a8f2
5 changed files with 44 additions and 14 deletions

View file

@ -846,3 +846,9 @@ $.getScript(IO_URL+"/socket.io/socket.io.js", function() {
Callbacks.disconnect();
}
});
window.setupNewSocket = function() {
for(var key in Callbacks) {
socket.on(key, Callbacks[key]);
}
}