summaryrefslogtreecommitdiffstats
path: root/docs/com/test/test-pdf.js
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-05-23 14:40:54 +0200
committerMorgan Richomme <morgan.richomme@orange.com>2016-05-23 17:12:21 +0200
commitbb522c6efd9a02e611014038566b15feb28da0c8 (patch)
tree6f1f7845b7c905a3db9c21a2f719d34de9a775e3 /docs/com/test/test-pdf.js
parent1ee1c30e539c02924c34bfeb2dd260993f0481b4 (diff)
Add framework for presentations
Change-Id: I8ba24fb4b2a3a6c8d8c69f15a1fd9259aea4ab6c Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
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 000000000..8ec34fd46
--- /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 });
+