From c06b1e711503b4e53524b5522ab425c2f4aa6189 Mon Sep 17 00:00:00 2001 From: Alejandro Lechuga Date: Fri, 15 Nov 2013 02:29:20 -0800 Subject: [PATCH] Update README.md Hi I'm just correcting a typo, from "fucntion" to "function" on the code examples --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ce93dd8d7..c618c0a19 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ var socket = require('socket.io')('http://localhost'); socket.on('connect', function(){ socket.on('event', function(data){}); - socket.on('disconnect', fucntion(){}); + socket.on('disconnect', function(){}); }); ``` @@ -44,7 +44,7 @@ var socket = require('socket.io-client')('http://localhost'); socket.on('connect', function(){ socket.on('event', function(data){}); - socket.on('disconnect', fucntion(){}); + socket.on('disconnect', function(){}); }); ```