added introduction chapter

This commit is contained in:
mhjensen
2018-05-21 10:59:37 -04:00
parent 6437af32ef
commit 06c18466e5
55 changed files with 4077 additions and 2764 deletions
@@ -41,10 +41,15 @@
}
// When a new notes window connects, post our current state
socket.on( 'connect', function( data ) {
socket.on( 'new-subscriber', function( data ) {
post();
} );
// When the state changes from inside of the speaker view
socket.on( 'statechanged-speaker', function( data ) {
Reveal.setState( data.state );
} );
// Monitor events that trigger a change in state
Reveal.addEventListener( 'slidechanged', post );
Reveal.addEventListener( 'fragmentshown', post );