1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-09-03 03:33:30 +02:00

getSlideBackground now works in pdf mode, add pdf tests

This commit is contained in:
Hakim El Hattab
2014-04-27 17:31:50 +02:00
parent 41e1e013b8
commit 860580d4d0
4 changed files with 108 additions and 2 deletions

15
test/test-pdf.js Normal file
View File

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