convert plugins to ES modules, transpile es5 versions backwards compatibility
This commit is contained in:
parent
9522357349
commit
a55cd813be
36 changed files with 3018 additions and 886 deletions
|
@ -41,13 +41,12 @@
|
|||
|
||||
</div>
|
||||
|
||||
<script src="../dist/reveal.min.js"></script>
|
||||
<script>
|
||||
<script type="module">
|
||||
import '../js/index.js'
|
||||
import Markdown from '../plugin/markdown/markdown.js'
|
||||
|
||||
Reveal.initialize({
|
||||
dependencies: [
|
||||
{ src: '../plugin/markdown/marked.js' },
|
||||
{ src: '../plugin/markdown/markdown.js' },
|
||||
]
|
||||
dependencies: [ Markdown ]
|
||||
}).then( function() {
|
||||
|
||||
QUnit.module( 'Markdown' );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue