mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-01 04:39:12 -04:00
More or less working goToRevision
There are still some bugs in the traversal algorithm, as well as bugs being triggered in the server. Also, for some reason it looks like there is a problem with the attribute pool not containing certain elements.
This commit is contained in:
parent
f49abe61b7
commit
3013bab251
4 changed files with 51 additions and 25 deletions
|
@ -206,6 +206,7 @@
|
|||
<script type="text/javascript" >
|
||||
var clientVars = {};
|
||||
var BroadcastSlider;
|
||||
var timeslider;
|
||||
(function () {
|
||||
var pathComponents = location.pathname.split('/');
|
||||
|
||||
|
@ -222,16 +223,16 @@
|
|||
document.domain = document.domain; // for comet
|
||||
}
|
||||
var plugins = require('ep_etherpad-lite/static/js/pluginfw/client_plugins');
|
||||
var timeslider = require('ep_etherpad-lite/static/js/timeslider')
|
||||
var socket = timeslider.socket;
|
||||
BroadcastSlider = timeslider.BroadcastSlider;
|
||||
var _timeslider = require('ep_etherpad-lite/static/js/timeslider')
|
||||
var socket = _timeslider.socket;
|
||||
BroadcastSlider = _timeslider.BroadcastSlider;
|
||||
plugins.baseURL = baseURL;
|
||||
|
||||
plugins.update(function () {
|
||||
var hooks = require('ep_etherpad-lite/static/js/pluginfw/hooks');
|
||||
hooks.plugins = plugins;
|
||||
|
||||
timeslider.init(baseURL);
|
||||
timeslider = _timeslider.init(baseURL);
|
||||
|
||||
/* TODO: These globals shouldn't exist. */
|
||||
padeditbar = require('ep_etherpad-lite/static/js/pad_editbar').padeditbar;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue