Permalink
Browse files

typos

  • Loading branch information...
1 parent e34ad36 commit 31e7b1d30b12f093842150c9596315c10b2621ab @youurayy committed Feb 27, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
4 README.md
@@ -170,15 +170,15 @@ $(function() {
ws.disconnect(true);
// connected event
- ws.on('open', function(client) {
+ ws.on('open', function() {
log('connected');
// access the WebSocket if needed:
//ws.socket ... <- will be null when disconnected, and then a new one created
});
// disconnected event
- ws.on('close', function(client) {
+ ws.on('close', function() {
log('disconnected');
});

0 comments on commit 31e7b1d

Please sign in to comment.