From 4e13cfb03e154e5a9b481fa6ea94aefc2c954862 Mon Sep 17 00:00:00 2001 From: Andrew Dodson Date: Thu, 3 May 2012 12:16:01 +1000 Subject: [PATCH] Update copy --- Readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Readme.md b/Readme.md index 2a03a12fc3..46dfc2be28 100644 --- a/Readme.md +++ b/Readme.md @@ -104,10 +104,10 @@ io.sockets.on('connection', function (socket) { var socket = io.connect('http://localhost'); socket.on('connect', function () { - socket.emit('set nickname', confirm('What is your nickname?')); + socket.emit('set nickname', prompt('What is your nickname?')); socket.on('ready', function () { console.log('Connected !'); - socket.emit('msg', confirm('What is your message?')); + socket.emit('msg', prompt('What is your message?')); }); });