expose broadcast slider so plugins can interact with it

This commit is contained in:
John McLear 2013-04-09 15:55:14 +01:00
parent 99dff9c4e5
commit 8836981e32
2 changed files with 4 additions and 3 deletions

View file

@ -194,7 +194,7 @@
<!-- Bootstrap -->
<script type="text/javascript" >
var clientVars = {};
var BroadcastSlider;
(function () {
var pathComponents = location.pathname.split('/');
@ -214,7 +214,7 @@
var plugins = require('ep_etherpad-lite/static/js/pluginfw/client_plugins');
var socket = require('ep_etherpad-lite/static/js/timeslider').socket;
var BroadcastSlider = require('ep_etherpad-lite/static/js/timeslider').BroadcastSlider;
plugins.baseURL = baseURL;
plugins.update(function () {