From e5ada93506f2b46f280c9334c0954e6b7c4f597d Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 5 May 2020 18:13:11 +0200 Subject: New project layout --- plugin/multiplex/client.js | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 plugin/multiplex/client.js (limited to 'plugin/multiplex/client.js') diff --git a/plugin/multiplex/client.js b/plugin/multiplex/client.js deleted file mode 100644 index 3ffd1e0..0000000 --- a/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