aboutsummaryrefslogtreecommitdiff
path: root/plugin/notes-server/index.js
diff options
context:
space:
mode:
authorMichael Kühnel <mail@michael-kuehnel.de>2012-10-24 17:48:50 +0200
committerMichael Kühnel <mail@michael-kuehnel.de>2012-10-24 17:48:50 +0200
commit5af915adaf0f03ea936323e827e86fab6b0bb4e9 (patch)
tree0e72e9c726ed96105ccc3ef7364ee782bf412306 /plugin/notes-server/index.js
parentaefe981040ea8c5c7875d9da1ac860def44a19e8 (diff)
parent379f5d38ff8c66c10c22a0a18227b481e945dc02 (diff)
downloadperl-software-in-gnu-guix-5af915adaf0f03ea936323e827e86fab6b0bb4e9.tar
perl-software-in-gnu-guix-5af915adaf0f03ea936323e827e86fab6b0bb4e9.tar.gz
Merge branch 'refs/heads/fix-fragments-in-speakernotes' into fragments-in-notes-server
Conflicts: js/reveal.min.js Need to generate a new minified version afterwards.
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" );