summaryrefslogtreecommitdiff
path: root/cardiff2015/slides/plugin/multiplex/client.js
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-06-21 11:25:12 +0200
committervarac <varacanero@zeromail.org>2016-06-21 11:25:12 +0200
commit4f5bf8afa598a143544df37f7e6476d0b05df702 (patch)
tree9351649c48bc77ae8e6ef488fa6339e468819f8d /cardiff2015/slides/plugin/multiplex/client.js
parent13fb30c8fc72e45a2dfb170322deff4b9ffd82bc (diff)
Revert "added cardiff2015 slides"
This reverts commit 13fb30c8fc72e45a2dfb170322deff4b9ffd82bc.
Diffstat (limited to 'cardiff2015/slides/plugin/multiplex/client.js')
-rw-r--r--cardiff2015/slides/plugin/multiplex/client.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/cardiff2015/slides/plugin/multiplex/client.js b/cardiff2015/slides/plugin/multiplex/client.js
deleted file mode 100644
index e6179f6..0000000
--- a/cardiff2015/slides/plugin/multiplex/client.js
+++ /dev/null
@@ -1,13 +0,0 @@
-(function() {
- var multiplex = Reveal.getConfig().multiplex;
- var socketId = multiplex.id;
- var socket = io.connect(multiplex.url);
-
- socket.on(multiplex.id, function(data) {
- // ignore data from sockets that aren't ours
- if (data.socketId !== socketId) { return; }
- if( window.location.host === 'localhost:1947' ) return;
-
- Reveal.slide(data.indexh, data.indexv, data.indexf, 'remote');
- });
-}());