add Reveal.getConfig(), replace use of window.globals (#98)
This commit is contained in:
1 parent
2bd5e8b65b
commit
825fe51de9
5 files changed
+15
-14
No files matched your search
@@ -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