Add old future of Drupal presentation

This commit is contained in:
Benjamin Melançon 2018-05-29 18:26:59 -04:00
parent 86f2644483
commit 1b3ec458c4
127 changed files with 20994 additions and 0 deletions

View file

@ -0,0 +1,13 @@
(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);
});
}());