From 67202efbddaad83460127b08f4c1239f8acc8061 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Prudent?= Date: Sat, 4 May 2013 02:09:32 +0300 Subject: [PATCH] Typo on examples replaced fucntion to function --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 324f9ad54..c618c0a19 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(){}); }); ``` @@ -33,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(){}); }); ``` @@ -45,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(){}); }); ```