Move slides from other repos

This commit is contained in:
Oliver Davies 2017-07-02 21:03:12 +01:00
parent 1407e61bba
commit 6a64544e13
328 changed files with 59715 additions and 0 deletions
drupal-vm-generator/2016-04-02-drupal-bristol/slides/plugin/multiplex

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);
});
}());