diff --git a/README.md b/README.md index 924cfb5b1..5393f678c 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ Socket.IO is also compatible with 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(){}); }); ```