|
@@ -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" );
|
|
|
+console.log( "3. Advance through your slides and your notes will advance automatically" );
|