From 46e270e59f9aae7a3528fcd3f9d2287f341c0be7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Ku=CC=88hnel?= Date: Thu, 18 Oct 2012 23:59:43 +0200 Subject: [PATCH] Broadcast fragmentdata --- plugin/speakernotes/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugin/speakernotes/index.js b/plugin/speakernotes/index.js index 17314f3..7387f5d 100644 --- a/plugin/speakernotes/index.js +++ b/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() {