Bring multiplex up to date

This commit is contained in:
David Banham 2013-03-08 11:51:58 +11:00
parent 61c229a4f9
commit 580a72c444
9 changed files with 31 additions and 925 deletions

View file

@ -1,4 +1,5 @@
(function() {
var multiplex = window.globals.multiplex;
var socketId = multiplex.id;
var socket = io.connect(multiplex.url);
@ -7,6 +8,6 @@
if (data.socketId !== socketId) { return; }
if( window.location.host === 'localhost:1947' ) return;
Reveal.navigateTo(data.indexh, data.indexv, 'remote');
Reveal.slide(data.indexh, data.indexv, null, 'remote');
});
}());