github.com/mweagle/Sparta@v1.15.0/docs_source/static/presentations/reveal.js-3.9.2/test/test-pdf.js (about) 1 Reveal.addEventListener( 'ready', function() { 2 3 // Only one test for now, we're mainly ensuring that there 4 // are no execution errors when running PDF mode 5 6 QUnit.test( 'Reveal.isReady', function( assert ) { 7 assert.strictEqual( Reveal.isReady(), true, 'returns true' ); 8 }); 9 10 } ); 11 12 Reveal.initialize({ pdf: true });