summaryrefslogtreecommitdiffhomepage
path: root/plugin/notes-server/index.js
diff options
context:
space:
mode:
authorHakim El Hattab2012-10-25 09:42:33 -0400
committerHakim El Hattab2012-10-25 09:42:33 -0400
commit6794f543e0d8ff589fe5258a6923f1afffc1e0da (patch)
tree4e01bc032d6959ebb6af9d6ac898dddfe80338e5 /plugin/notes-server/index.js
parent5d1bac5790086cbd28fbcacd8a4cadb6c6e2e403 (diff)
parentb838522be43062bfeca2953506f514f5f88996fc (diff)
merge in support for stepped fragments in notes server
Diffstat (limited to 'plugin/notes-server/index.js')
-rw-r--r--plugin/notes-server/index.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugin/notes-server/index.js b/plugin/notes-server/index.js
index 1fe5bab..8643f5d 100644
--- a/plugin/notes-server/index.js
+++ b/plugin/notes-server/index.js
@@ -18,6 +18,9 @@ io.sockets.on('connection', function(socket) {
socket.on('slidechanged', function(slideData) {
socket.broadcast.emit('slidedata', slideData);
});
+ socket.on('fragmentchanged', function(fragmentData) {
+ socket.broadcast.emit('fragmentdata', fragmentData);
+ });
});
app.configure(function() {
@@ -52,4 +55,4 @@ var slidesLocation = "http://localhost" + ( opts.port ? ( ':' + opts.port ) : ''
console.log( brown + "reveal.js - Speaker Notes" + reset );
console.log( "1. Open the slides at " + green + slidesLocation + reset );
console.log( "2. Click on the link your JS console to go to the notes page" );
-console.log( "3. Advance through your slides and your notes will advance automatically" ); \ No newline at end of file
+console.log( "3. Advance through your slides and your notes will advance automatically" );