skinofstars/Twon — pull request #3 by benfoxall (2012-02-26 13:12:05+00:00)
Title: .on .emit deferring to .transport

Hey - I've changed round the `socket` to be called `transport` and written some wrappers for `.on` and `.emit`.

Think this is kind of nice because you can do stuff like this:

Player = function(){
this.direction = 0;
this.on('up', function(){
this.direction = 'up';
});
}