diff options
Diffstat (limited to 'src/templates/timeslider.html')
-rw-r--r-- | src/templates/timeslider.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/templates/timeslider.html b/src/templates/timeslider.html index 6ec27c05..af0a8f02 100644 --- a/src/templates/timeslider.html +++ b/src/templates/timeslider.html @@ -68,7 +68,7 @@ <button class="stepper" id="rightstep"></button> </div> </div> - + <div id="overlay"> <div id="overlay-inner"> <!-- --> @@ -231,20 +231,20 @@ <!-- Bootstrap --> <script type="text/javascript" > var clientVars = {}; - var BroadcastSlider; + var BroadcastSlider; (function () { var pathComponents = location.pathname.split('/'); - + // Strip 'p', the padname and 'timeslider' from the pathname and set as baseURL var baseURL = pathComponents.slice(0,pathComponents.length-3).join('/') + '/'; - - + + require.setRootURI(baseURL + "javascripts/src"); require.setLibraryURI(baseURL + "javascripts/lib"); require.setGlobalKeyPath("require"); $ = jQuery = require('ep_etherpad-lite/static/js/rjquery').jQuery; // Expose jQuery #HACK - browser = require('ep_etherpad-lite/static/js/browser').browser; + browser = require('ep_etherpad-lite/static/js/browser'); if ((!browser.msie) && (!(browser.mozilla && browser.version.indexOf("1.8.") == 0))) { document.domain = document.domain; // for comet @@ -254,7 +254,7 @@ var socket = require('ep_etherpad-lite/static/js/timeslider').socket; BroadcastSlider = require('ep_etherpad-lite/static/js/timeslider').BroadcastSlider; plugins.baseURL = baseURL; - + plugins.update(function () { var hooks = require('ep_etherpad-lite/static/js/pluginfw/hooks'); hooks.plugins = plugins; |