diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2013-03-08 19:05:58 -0500 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2013-03-08 19:05:58 -0500 |
commit | 825fe51de9bee6d4727a021f1109e37380eff012 (patch) | |
tree | 341e8536ff6dadea2e71e3a7ed9c65e992b5b1b4 /plugin/multiplex | |
parent | 2bd5e8b65b5e015c7c7ceffeff845e41811007ed (diff) | |
download | fosdem-2018-presentation-825fe51de9bee6d4727a021f1109e37380eff012.tar fosdem-2018-presentation-825fe51de9bee6d4727a021f1109e37380eff012.tar.gz |
add Reveal.getConfig(), replace use of window.globals (#98)
Diffstat (limited to 'plugin/multiplex')
-rw-r--r-- | plugin/multiplex/client.js | 2 | ||||
-rw-r--r-- | plugin/multiplex/master.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugin/multiplex/client.js b/plugin/multiplex/client.js index cb7b27a..0e0b39b 100644 --- a/plugin/multiplex/client.js +++ b/plugin/multiplex/client.js @@ -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); diff --git a/plugin/multiplex/master.js b/plugin/multiplex/master.js index 5c18390..75697d4 100644 --- a/plugin/multiplex/master.js +++ b/plugin/multiplex/master.js @@ -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); |