readme. js code error fix
This commit is contained in:
parent
e1bca513f2
commit
f931f46fd8
|
@ -61,7 +61,7 @@ var socket = io('ws://yourdomain.com', {transports: ['websocket']});
|
||||||
//send something
|
//send something
|
||||||
socket.emit('send', {name: "my name", message: "hello"}, function(result) {
|
socket.emit('send', {name: "my name", message: "hello"}, function(result) {
|
||||||
|
|
||||||
console.log('sended successfully);
|
console.log('sended successfully');
|
||||||
console.log(result);
|
console.log(result);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue