themen-hugo-35c3-reveal/static/reveal-js/test/test-pdf.js
dzello 3d05cf68f0 Include a Reveal.js distribution in static and make it default
CDN can still be used via a configuration parameter. This way, development and presentation can be done locally with no network dependency.
2018-08-13 18:44:29 +02:00

12 lines
321 B
JavaScript
Executable file

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