aboutsummaryrefslogtreecommitdiffstats
path: root/docs/com/test/test-pdf.js
diff options
context:
space:
mode:
Diffstat (limited to 'docs/com/test/test-pdf.js')
-rwxr-xr-xdocs/com/test/test-pdf.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/com/test/test-pdf.js b/docs/com/test/test-pdf.js
new file mode 100755
index 00000000..8ec34fd4
--- /dev/null
+++ b/docs/com/test/test-pdf.js
@@ -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 });
+