diff --git a/examples/barebones.html b/examples/barebones.html index 8f151305391e07fea62158365977d3e8872a4794..523f57b74f53585392f07ff0ba8f82d3a953433d 100644 --- a/examples/barebones.html +++ b/examples/barebones.html @@ -1,18 +1,13 @@ <!doctype html> <html lang="en"> - <head> <meta charset="utf-8"> - <title>reveal.js - Barebones</title> - <link rel="stylesheet" href="../dist/reveal.css"> </head> - <body> <div class="reveal"> - <div class="slides"> <section> @@ -26,7 +21,6 @@ </section> </div> - </div> <script src="../dist/reveal.es5.js"></script> diff --git a/examples/multiple-presentations.html b/examples/multiple-presentations.html index d4be36030265aec426686c601f3d1bc372c377fe..125bf0abb02fb1e0cfc01f19190181140914c578 100644 --- a/examples/multiple-presentations.html +++ b/examples/multiple-presentations.html @@ -33,23 +33,23 @@ <script src="../dist/reveal.es5.js"></script> <script> - let r1 = new Reveal( document.querySelector( '.deck1' ), { + let deck1 = new Reveal( document.querySelector( '.deck1' ), { embedded: true, keyboard: false } ); - r1.on( 'slidechanged', () => { + deck1.on( 'slidechanged', () => { console.log( 'Deck 1 slide changed' ); } ); - r1.initialize(); + deck1.initialize(); - let r2 = new Reveal( document.querySelector( '.deck2' ), { + let deck2 = new Reveal( document.querySelector( '.deck2' ), { embedded: true, keyboard: false } ); - r2.initialize().then( () => { - r2.slide(1); + deck2.initialize().then( () => { + deck2.slide(1); } ); - r2.on( 'slidechanged', () => { + deck2.on( 'slidechanged', () => { console.log( 'Deck 2 slide changed' ); } );