aboutsummaryrefslogtreecommitdiffstats
path: root/docs/com/test/test-pdf.js
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-06-01 14:42:03 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-06-01 14:42:03 +0000
commita574679f7b2636e74e6a262f4badad0445d10c3a (patch)
tree466429721c3454a9236b033a788ca72f9f4f4507 /docs/com/test/test-pdf.js
parent70b96b8719b48c51b59182162fe8e018c55e7364 (diff)
parentbb522c6efd9a02e611014038566b15feb28da0c8 (diff)
Merge "Add framework for presentations"
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 });
+