cmpolis/Apples-and-Oranges — Issue #1: socket.io - broadcast method
Author: webjames
Created: 2011-12-26 23:13:00+00:00
State: open

Hey - just following your post - when trying to run this i get a socket.io error. seems they have changed something since this was written. what version of sockets.io was this written for?

Incase you are interested here is the error:
```socket.broadcast(event_obj('mode_judging',''));
^
TypeError: Object # has no method 'broadcast'
at Timer. (.../Apples-and-Oranges/app.js:177:12)
at Timer.ontimeout (timers.js:203:14)```

Many thanks - great tutorial, really helpful.

James