summaryrefslogtreecommitdiffstats
path: root/docs/com/plugin/multiplex/master.js
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-10-14 09:13:38 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-10-14 09:13:38 +0000
commitcfb353b01c2dd21007db01c2d18a5cbd415689b8 (patch)
tree16cd87a5c956af7bb0126e068d0702dda0f9768e /docs/com/plugin/multiplex/master.js
parent733dbe143cd4d37787cdb167021129b9ffac78fa (diff)
parent6bb45e4d1ba014c1dd33bedff49be8afa9426d17 (diff)
Merge "remove 3rd part files with MIT or BSD license"
Diffstat (limited to 'docs/com/plugin/multiplex/master.js')
-rwxr-xr-xdocs/com/plugin/multiplex/master.js31
1 files changed, 0 insertions, 31 deletions
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