diff options
author | Hakim El Hattab | 2012-07-04 14:18:09 -0400 |
---|---|---|
committer | Hakim El Hattab | 2012-07-04 14:18:09 -0400 |
commit | 0e8640094301889e5c848dcf92084678778f0a19 (patch) | |
tree | 943f10c7ebc7268522505c3750e03ee14b59eadc /lib/slidenotes/client.js | |
parent | 421afe6368686b40a13c3b837b41ae1ad552ff7f (diff) |
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.js | 1 |
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 ) { |