small medium large xlarge

Back to: All Forums  CoffeeScript
Generic-user-small
16 Jul 2011, 22:13
Peter Oost (1 post)

The 5x5 example from the Node chapter chapter requires some adjustments. The below are the differences, they can be applied manually (of course) or copied to patch files.

Edit: The copy-paste results were interesting, here are the pastebin urls: 5x5client.coffee: http://pastebin.com/syapYpMz 5x5server.coffee: http://pastebin.com/xrs3ZXyD

And a link to the relevant migration guide: https://github.com/LearnBoost/Socket.IO/wiki/Migrating-0.6-to-0.7

Trevor_burnham__goofy_headshot__pragsmall
24 Jul 2011, 17:56
Trevor Burnham (54 posts)

Thanks for this, Peter.

Generic-user-small
21 Sep 2011, 23:48
Thomas Villa (1 post)

the link for 5x5client.coffee on pastebin doesn’t work (anymore?) can you please repost?

i adjusted the server-file but still no luck. Only blank screen.

Any help please? Thanks!

Generic-user-small
30 Sep 2011, 14:55
James Silberbauer (1 post)

In 5x5client.coffee replace lines 110 and 111:

  socket = new io.Socket()
  socket.connect()

with:

  socket = io.connect()

The socket.io migration guide is at https://github.com/LearnBoost/Socket.IO/wiki/Migrating-0.6-to-0.7+ (Add a “+” to the end of the url)

You must be logged in to comment