Merge pull request #1537 from ether/expose-socket-timeslider
Expose socket timeslider
This commit is contained in:
commit
cf6413383b
|
@ -108,8 +108,8 @@ function init() {
|
||||||
});
|
});
|
||||||
|
|
||||||
exports.socket = socket; // make the socket available
|
exports.socket = socket; // make the socket available
|
||||||
hooks.aCallAll("postTimesliderInit");
|
|
||||||
|
|
||||||
|
hooks.aCallAll("postTimesliderInit");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -213,6 +213,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
var plugins = require('ep_etherpad-lite/static/js/pluginfw/client_plugins');
|
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.baseURL = baseURL;
|
||||||
|
|
||||||
plugins.update(function () {
|
plugins.update(function () {
|
||||||
|
|
Loading…
Reference in New Issue