add Reveal.getConfig(), replace use of window.globals (#98)
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user