add Reveal.getConfig(), replace use of window.globals (#98)
This commit is contained in:
parent
2bd5e8b65b
commit
825fe51de9
5 changed files with 15 additions and 14 deletions
|
@ -1,5 +1,5 @@
|
|||
(function() {
|
||||
var multiplex = window.globals.multiplex;
|
||||
var multiplex = Reveal.getConfig().multiplex;
|
||||
var socketId = multiplex.id;
|
||||
var socket = io.connect(multiplex.url);
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
(function() {
|
||||
// don't emit events from inside the previews themselves
|
||||
if ( window.location.search.match( /receiver/gi ) ) { return; }
|
||||
var multiplex = window.globals.multiplex;
|
||||
var multiplex = Reveal.getConfig().multiplex;
|
||||
|
||||
var socket = io.connect(multiplex.url);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue