summaryrefslogtreecommitdiffstats
path: root/presentations/2016-11-30-Profitbricks/plugin/multiplex/client.js
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-11-30 21:24:36 +0100
committerHolger Levsen <holger@layer-acht.org>2016-11-30 21:24:36 +0100
commitfa33733fc6e8050631e6e09202ca92047c98697d (patch)
tree96143574df7e31d259328144114aaf3243136649 /presentations/2016-11-30-Profitbricks/plugin/multiplex/client.js
parentf794313de062993754e7274ccd5061ab0109bb3b (diff)
downloadjenkins.debian.net-fa33733fc6e8050631e6e09202ca92047c98697d.tar.xz
presenation: move to userContent/ so it becomes visible
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'presentations/2016-11-30-Profitbricks/plugin/multiplex/client.js')
-rw-r--r--presentations/2016-11-30-Profitbricks/plugin/multiplex/client.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/presentations/2016-11-30-Profitbricks/plugin/multiplex/client.js b/presentations/2016-11-30-Profitbricks/plugin/multiplex/client.js
deleted file mode 100644
index 3ffd1e03..00000000
--- a/presentations/2016-11-30-Profitbricks/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.setState(data.state);
- });
-}());