update to socket.io 0.7.2

This commit is contained in:
Peter 'Pita' Martischka 2011-06-23 12:33:31 +01:00
parent 84b0521c85
commit fd5aafe17a
2 changed files with 2 additions and 3 deletions

View File

@ -8,7 +8,7 @@
{ "name": "Hans Pinckaers"}
],
"dependencies" : {
"socket.io" : "0.6.18",
"socket.io" : "0.7.2",
"ueberDB" : "0.0.8",
"async" : "0.1.9",
"joose" : "3.18.0",

View File

@ -60,8 +60,7 @@ function randomString() {
function handshake()
{
socket = new io.Socket();
socket.connect();
socket = new io.connect();
socket.on('connect', function(){
var padId= document.URL.substring(document.URL.lastIndexOf("/")+1);