projects
/
reveal.js.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
409c0df
)
Broadcast fragmentdata
author
Michael Kühnel
<mail@michael-kuehnel.de>
Thu, 18 Oct 2012 21:59:43 +0000
(23:59 +0200)
committer
Michael Kühnel
<mail@michael-kuehnel.de>
Thu, 18 Oct 2012 21:59:43 +0000
(23:59 +0200)
plugin/speakernotes/index.js
patch
|
blob
|
history
diff --git
a/plugin/speakernotes/index.js
b/plugin/speakernotes/index.js
index 17314f331888a8c2e23c4f4268bbda542fbc94fb..7387f5d2240dbf283b1ded9e323c383debb1e912 100644
(file)
--- 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() {