expose socket timeslider with a bad hack

This commit is contained in:
John McLear 2013-02-18 18:58:58 +00:00
parent 6b47fb69d0
commit 75fd27998e

View file

@ -63,6 +63,7 @@ function init() {
//build up the socket io connection
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
socket.on('connect', function()
@ -163,3 +164,4 @@ function handleClientVars(message)
exports.baseURL = '';
exports.init = init;
exports.sendSocketMsg = sendSocketMsg;