From afd88a4bb8c8d352f7efb1a4af9db1440b4e09fe Mon Sep 17 00:00:00 2001 From: Eric Schoffstall Date: Wed, 10 Apr 2013 20:07:25 -0700 Subject: [PATCH] fix typo --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 324f9ad54..ce93dd8d7 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,3 @@ - ### This Readme corresponds to the upcoming 1.0 release. Please refer to http://socket.io for the current 0.9.x documentation. # socket.io-client @@ -19,7 +18,7 @@ var socket = io('http://localhost'); socket.on('connect', function(){ socket.on('event', function(data){}); - socket.on('disconnect', fucntion(){}); + socket.on('disconnect', function(){}); }); ```