summaryrefslogtreecommitdiff
path: root/public/plugin/multiplex/client.js
diff options
context:
space:
mode:
authorWu Cheng-Han2015-11-29 01:04:20 -0600
committerWu Cheng-Han2015-11-29 01:04:20 -0600
commitb070de8fa931d1b3b3f87d0c4afce55675f3cb93 (patch)
tree6453ee6a5a1cfad534660b38db9ebbc6c5faa9b6 /public/plugin/multiplex/client.js
parentbaed9eb33d1ae6da5d04a11ae8df6bc6293f04b6 (diff)
Updated and merge reveal.js to use bower
Diffstat (limited to 'public/plugin/multiplex/client.js')
-rw-r--r--public/plugin/multiplex/client.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/public/plugin/multiplex/client.js b/public/plugin/multiplex/client.js
deleted file mode 100644
index e6179f6d..00000000
--- a/public/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');
- });
-}());