test-pdf.js 321 B

12345678910111213
  1. Reveal.addEventListener( 'ready', function() {
  2. // Only one test for now, we're mainly ensuring that there
  3. // are no execution errors when running PDF mode
  4. QUnit.test( 'Reveal.isReady', function( assert ) {
  5. assert.strictEqual( Reveal.isReady(), true, 'returns true' );
  6. });
  7. } );
  8. Reveal.initialize({ pdf: true });