Merge pull request #1537 from ether/expose-socket-timeslider

Expose socket timeslider
This commit is contained in:
John McLear 2013-02-25 02:14:24 -08:00
commit cf6413383b
2 changed files with 3 additions and 1 deletions

View File

@ -108,8 +108,8 @@ function init() {
});
exports.socket = socket; // make the socket available
hooks.aCallAll("postTimesliderInit");
hooks.aCallAll("postTimesliderInit");
});
}

View File

@ -213,6 +213,8 @@
}
var plugins = require('ep_etherpad-lite/static/js/pluginfw/client_plugins');
var socket = require('ep_etherpad-lite/static/js/timeslider').socket;
plugins.baseURL = baseURL;
plugins.update(function () {