From fe9dfd22883b89a9ca7febe4459b375629cae04d Mon Sep 17 00:00:00 2001 From: Enyxx Date: Tue, 3 Dec 2013 17:35:03 +0100 Subject: [PATCH] Update README.md fucntion -> funtion ;) --- 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(){}); }); ```