Browse Source

Broadcast fragmentdata

Michael Kühnel 12 years ago
parent
commit
46e270e59f
1 changed files with 3 additions and 0 deletions
  1. 3 0
      plugin/speakernotes/index.js

+ 3 - 0
plugin/speakernotes/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() {