1
0
mirror of https://github.com/balkian/SOJA.git synced 2025-09-02 03:12:21 +00:00

Updated conversion and example

This commit is contained in:
J.Fernando Sánchez
2012-04-22 05:53:16 +02:00
parent 09102f4cdc
commit 27b74831fd
4 changed files with 37 additions and 6 deletions

View File

@@ -3,7 +3,7 @@ io.sockets.on('connection', function (socket) {
console.log("New connection!");
socket.on('test', function (data,ack) {
console.log(data);
ack("hola");
ack({"success":"yes"});
console.log("I acked");
});
});