From 4de2985c241fe15e99d86b895d26c3f30235c00f Mon Sep 17 00:00:00 2001 From: Verdi R-D Date: Thu, 7 Feb 2013 20:22:46 -0500 Subject: [PATCH] Fixed typo in function --- 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(){}); }); ```