News for hackers. Stuff that matters.
Re:Fixing the callback spaghetti in node.js by jigs_up on Thursday September 29, 2011 @04:02PM (#3054025)
And remember that 'bind' can save your life

this.io.sockets.on('connection', this.onConnection.bind(this));

There are no comments on this comment yet.