mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-25 01:46:14 -04:00
Merge pull request #1537 from ether/expose-socket-timeslider
Expose socket timeslider
This commit is contained in:
commit
cf6413383b
2 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue