Sha256: 2ff22703936528eec7c23b9865915e082e5de8e2b04494ec57111c90938d4609

Contents?: true

Size: 403 Bytes

Versions: 78

Compression:

Stored size: 403 Bytes

Contents

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

Version data entries

78 entries across 74 versions & 9 rubygems

Version Path
slidemgr-1.0.2 lib/template/reveal.js-3.0.0/plugin/multiplex/client.js
slidemgr-1.0.1 lib/template/reveal.js-3.0.0/plugin/multiplex/client.js
reveal-ck-3.2.0 files/reveal.js/plugin/multiplex/client.js
slideparts-0.0.1 lib/slide_template/plugin/multiplex/client.js
reveal-ck-3.1.0 files/reveal.js/plugin/multiplex/client.js
slide_hero-0.0.10 vendor/reveal.js/plugin/multiplex/client.js
hyla-1.0.7 lib/resources/assets/revealjs/plugin/multiplex/client.js
hyla-1.0.7.pre.9 lib/resources/assets/revealjs/plugin/multiplex/client.js
hyla-1.0.7.pre.8 lib/resources/assets/revealjs/plugin/multiplex/client.js
hyla-1.0.7.pre.7 lib/resources/assets/revealjs/plugin/multiplex/client.js
hyla-1.0.7.pre.6 lib/resources/assets/revealjs/plugin/multiplex/client.js
hyla-1.0.7.pre.5 lib/resources/assets/revealjs/plugin/multiplex/client.js
slippery-0.4.1 assets/reveal.js/plugin/multiplex/client.js
slippery-0.4.1 assets/reveal.old/plugin/multiplex/client.js
hyla-1.0.7.pre.3 lib/resources/assets/revealjs/plugin/multiplex/client.js
slippery-0.4.0 assets/reveal.old/plugin/multiplex/client.js
slippery-0.4.0 assets/reveal.js/plugin/multiplex/client.js
hyla-1.0.7.pre.2 lib/resources/assets/revealjs/plugin/multiplex/client.js
hyla-1.0.7.pre.1 lib/resources/revealjs/plugin/multiplex/client.js
reveal-ck-3.0.1 files/reveal.js/plugin/multiplex/client.js