Skip to content

Commit

Permalink
Merge pull request socketio#683 from jherdman/documentation-fix
Browse files Browse the repository at this point in the history
Minor documentation fix
  • Loading branch information
rauchg committed Dec 12, 2011
2 parents cc2270b + b37666a commit d9d529c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ The following example defines a socket that listens on '/chat' and one for
var io = require('socket.io').listen(80);

var chat = io
.of('/chat');
.of('/chat')
.on('connection', function (socket) {
socket.emit('a message', { that: 'only', '/chat': 'will get' });
chat.emit('a message', { everyone: 'in', '/chat': 'will get' });
Expand Down

0 comments on commit d9d529c

Please sign in to comment.