conditional loading of socket.io and the notes client js based on window host
This commit is contained in:
@ -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 ) {
|
||||
|
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
|
||||
<title>Slide Notes</title>
|
||||
<title>reveal.js - Slide Notes</title>
|
||||
|
||||
<style>
|
||||
#notes {
|
||||
|
Reference in New Issue
Block a user