Convert docdock theme from submodule to native files and fix Hugo compatibility
This commit is contained in:
15
themes/docdock/static/revealjs/test/test-pdf.js
Executable file
15
themes/docdock/static/revealjs/test/test-pdf.js
Executable 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 });
|
||||
|
||||
Reference in New Issue
Block a user