mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-20 06:29:53 +01:00
expose socket timeslider with a bad hack
This commit is contained in:
parent
6b47fb69d0
commit
75fd27998e
1 changed files with 2 additions and 0 deletions
|
@ -63,6 +63,7 @@ function init() {
|
||||||
|
|
||||||
//build up the socket io connection
|
//build up the socket io connection
|
||||||
socket = io.connect(url, {resource: resource});
|
socket = io.connect(url, {resource: resource});
|
||||||
|
window.parent.socket = socket; // Expose the socket to it's parent HACK
|
||||||
|
|
||||||
//send the ready message once we're connected
|
//send the ready message once we're connected
|
||||||
socket.on('connect', function()
|
socket.on('connect', function()
|
||||||
|
@ -163,3 +164,4 @@ function handleClientVars(message)
|
||||||
|
|
||||||
exports.baseURL = '';
|
exports.baseURL = '';
|
||||||
exports.init = init;
|
exports.init = init;
|
||||||
|
exports.sendSocketMsg = sendSocketMsg;
|
||||||
|
|
Loading…
Reference in a new issue