From fa33733fc6e8050631e6e09202ca92047c98697d Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 30 Nov 2016 21:24:36 +0100 Subject: presenation: move to userContent/ so it becomes visible Signed-off-by: Holger Levsen --- .../2016-11-30-Profitbricks/plugin/multiplex/client.js | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 presentations/2016-11-30-Profitbricks/plugin/multiplex/client.js (limited to 'presentations/2016-11-30-Profitbricks/plugin/multiplex/client.js') 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); - }); -}()); -- cgit v1.2.3-70-g09d2