diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2018-06-10 15:07:17 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2018-06-10 15:07:17 +0200 |
commit | cb0a365c25cfb60f5c7c073232e5c6bef9fc9064 (patch) | |
tree | 57b664214607fdd5c6f8e398613baae86963395c /slides/bower_components/reveal.js/plugin/multiplex/client.js | |
parent | 5ec40ac294aa8f092b3f70dca1cb6d103699a995 (diff) | |
download | iot-workshop-ndc-2018-cb0a365c25cfb60f5c7c073232e5c6bef9fc9064.tar.gz iot-workshop-ndc-2018-cb0a365c25cfb60f5c7c073232e5c6bef9fc9064.tar.bz2 iot-workshop-ndc-2018-cb0a365c25cfb60f5c7c073232e5c6bef9fc9064.tar.xz iot-workshop-ndc-2018-cb0a365c25cfb60f5c7c073232e5c6bef9fc9064.zip |
o Removing old stuff.
Diffstat (limited to 'slides/bower_components/reveal.js/plugin/multiplex/client.js')
-rw-r--r-- | slides/bower_components/reveal.js/plugin/multiplex/client.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/slides/bower_components/reveal.js/plugin/multiplex/client.js b/slides/bower_components/reveal.js/plugin/multiplex/client.js deleted file mode 100644 index 3ffd1e0..0000000 --- a/slides/bower_components/reveal.js/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); - }); -}()); |