From b645377817ed4bf8038b29b07add0b8794d9bdb0 Mon Sep 17 00:00:00 2001 From: Morgan Richomme Date: Thu, 13 Oct 2016 18:02:06 +0200 Subject: remove 3rd part files with MIT or BSD license Change-Id: I941093e91897d1425720b5acdbf072cf620f131d Signed-off-by: Morgan Richomme (cherry picked from commit 6bb45e4d1ba014c1dd33bedff49be8afa9426d17) --- docs/com/plugin/multiplex/master.js | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100755 docs/com/plugin/multiplex/master.js (limited to 'docs/com/plugin/multiplex/master.js') diff --git a/docs/com/plugin/multiplex/master.js b/docs/com/plugin/multiplex/master.js deleted file mode 100755 index 4becad0df..000000000 --- a/docs/com/plugin/multiplex/master.js +++ /dev/null @@ -1,31 +0,0 @@ -(function() { - - // Don't emit events from inside of notes windows - if ( window.location.search.match( /receiver/gi ) ) { return; } - - var multiplex = Reveal.getConfig().multiplex; - - var socket = io.connect( multiplex.url ); - - function post() { - - var messageData = { - state: Reveal.getState(), - secret: multiplex.secret, - socketId: multiplex.id - }; - - socket.emit( 'multiplex-statechanged', messageData ); - - }; - - // Monitor events that trigger a change in state - Reveal.addEventListener( 'slidechanged', post ); - Reveal.addEventListener( 'fragmentshown', post ); - Reveal.addEventListener( 'fragmenthidden', post ); - Reveal.addEventListener( 'overviewhidden', post ); - Reveal.addEventListener( 'overviewshown', post ); - Reveal.addEventListener( 'paused', post ); - Reveal.addEventListener( 'resumed', post ); - -}()); \ No newline at end of file -- cgit 1.2.3-korg