1 2Reveal.addEventListener( 'ready', function() { 3 4 // Only one test for now, we're mainly ensuring that there 5 // are no execution errors when running PDF mode 6 7 test( 'Reveal.isReady', function() { 8 strictEqual( Reveal.isReady(), true, 'returns true' ); 9 }); 10 11 12} ); 13 14Reveal.initialize({ pdf: true }); 15 16 17