From 6ea1ef1154b4a31102db9117ba4996eb56421153 Mon Sep 17 00:00:00 2001 From: jcreamer898 Date: Tue, 28 May 2013 10:14:11 -0500 Subject: [PATCH] Update README.md Fix error in code sample --- 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(){}); }); ```