LearnBoost/socket.io — Issue #751: Error in documentation
Author: diverdude
Created: 2012-02-15 11:42:18+00:00
State: open

in auth documentation, https://github.com/LearnBoost/socket.io/wiki/Authorizing in the section : " How does the client handle the global authorization" the example:

var sio = io.connect();

sio.socket.on('error', function (reason){
console.error('Unable to connect Socket.IO', reason);
});

sio.on('connect', function (){
console.info('successfully established a working connection \o/');
});

should be

var sio = io.connect();

sio.socket.on('error', function (reason){
console.error('Unable to connect Socket.IO', reason);
});

sio.socket.on('connect', function (){
console.info('successfully established a working connection \o/');
});