mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 15:36:16 -04:00
Change everything to the new Socket.IO API
This commit is contained in:
parent
fd5aafe17a
commit
80a478fd55
3 changed files with 28 additions and 28 deletions
|
@ -86,7 +86,7 @@ function handleClientReady(client, message)
|
|||
{
|
||||
if(err) throw err;
|
||||
|
||||
client.send({type: "CLIENT_VARS", data: clientVars});
|
||||
client.json.send({type: "CLIENT_VARS", data: clientVars});
|
||||
})
|
||||
}
|
||||
|
||||
|
@ -108,7 +108,7 @@ function handleChangesetRequest(client, message)
|
|||
var data = changesetInfo;
|
||||
data.requestID = message.data.requestID;
|
||||
|
||||
client.send({type: "CHANGESET_REQ", data: data});
|
||||
client.json.send({type: "CHANGESET_REQ", data: data});
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue