aboutsummaryrefslogtreecommitdiff
path: root/lib/slidenotes/client.js
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2012-07-04 14:18:09 -0400
committerHakim El Hattab <hakim.elhattab@gmail.com>2012-07-04 14:18:09 -0400
commit0e8640094301889e5c848dcf92084678778f0a19 (patch)
tree943f10c7ebc7268522505c3750e03ee14b59eadc /lib/slidenotes/client.js
parent421afe6368686b40a13c3b837b41ae1ad552ff7f (diff)
downloadfosdem-2018-presentation-0e8640094301889e5c848dcf92084678778f0a19.tar
fosdem-2018-presentation-0e8640094301889e5c848dcf92084678778f0a19.tar.gz
conditional loading of socket.io and the notes client js based on window host
Diffstat (limited to 'lib/slidenotes/client.js')
-rw-r--r--lib/slidenotes/client.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/slidenotes/client.js b/lib/slidenotes/client.js
index b686ec9..f594fb6 100644
--- a/lib/slidenotes/client.js
+++ b/lib/slidenotes/client.js
@@ -5,6 +5,7 @@
var socket = io.connect(window.location.origin);
var socketId = Math.random().toString().slice(2);
+
console.log('View slide notes at ' + window.location.origin + '/notes/' + socketId);
Reveal.addEventListener( 'slidechanged', function( event ) {