Fixed timeslider which I broke a few minutes ago

This commit is contained in:
Egil Moeller 2012-03-01 20:18:03 +01:00
parent df531a7b2b
commit 6cd391d3fb
2 changed files with 15 additions and 12 deletions

View file

@ -5,7 +5,6 @@
, "pad.js" , "pad.js"
, "ace2_common.js" , "ace2_common.js"
, "pad_utils.js" , "pad_utils.js"
, "plugins.js"
, "undo-xpopup.js" , "undo-xpopup.js"
, "json2.js" , "json2.js"
, "pad_cookie.js" , "pad_cookie.js"
@ -27,7 +26,6 @@
, "timeslider.js": [ , "timeslider.js": [
"jquery.js" "jquery.js"
, "security.js" , "security.js"
, "plugins.js"
, "undo-xpopup.js" , "undo-xpopup.js"
, "json2.js" , "json2.js"
, "colorutils.js" , "colorutils.js"

View file

@ -197,21 +197,26 @@
</div> </div>
</div> </div>
<script type="text/javascript" src="../../static/js/require-kernel.js"></script> <script type="text/javascript" src="../../../static/js/require-kernel.js"></script>
<script type="text/javascript" src="../../socket.io/socket.io.js"></script> <script type="text/javascript" src="../../../static/js/jquery.js"></script>
<script type="text/javascript" src="../../minified/timeslider.js"></script> <script type="text/javascript" src="../../../socket.io/socket.io.js"></script>
<script type="text/javascript" src="../../static/custom/timeslider.js"></script> <script type="text/javascript" src="../../../minified/timeslider.js"></script>
<script type="text/javascript" src="../../../static/custom/timeslider.js"></script>
<script type="text/javascript" > <script type="text/javascript" >
var clientVars = {}; var clientVars = {};
(function () { (function () {
require.setRootURI("../minified/"); require.setRootURI("../../../minified/");
require.setLibraryURI("../minified/plugins/"); require.setLibraryURI("../../../minified/plugins/");
require.setGlobalKeyPath("require"); require.setGlobalKeyPath("require");
require('ep_etherpad-lite/static/js/timeslider').init();
/* TODO: These globals shouldn't exist. */ var plugins = require('ep_etherpad-lite/static/js/pluginfw/plugins');
padeditbar = require('ep_etherpad-lite/static/js/pad_editbar').padeditbar; plugins.update(function () {
padimpexp = require('ep_etherpad-lite/static/js/pad_impexp').padimpexp; require('ep_etherpad-lite/static/js/timeslider').init();
/* TODO: These globals shouldn't exist. */
padeditbar = require('ep_etherpad-lite/static/js/pad_editbar').padeditbar;
padimpexp = require('ep_etherpad-lite/static/js/pad_impexp').padimpexp;
});
})(); })();
</script> </script>
</body> </body>