two js bundles; reveal.js (es6) and reveal.es5.js, add source maps

This commit is contained in:
Hakim El Hattab
2020-04-17 10:59:55 +02:00
parent d9690462e0
commit 4f6bdf1420
31 changed files with 155 additions and 52 deletions

View File

@ -412,7 +412,7 @@ Reveal.on( 'customevent', function() {
<script type="module">
import Reveal from '/js/reveal.js';
import Reveal from '/dist/reveal.js';
import Zoom from '/plugin/zoom/zoom.js';
import Notes from '/plugin/notes/notes.js';
import Search from '/plugin/search/search.js';
@ -420,7 +420,7 @@ Reveal.on( 'customevent', function() {
import Highlight from '/plugin/highlight/highlight.js';
// More info https://github.com/hakimel/reveal.js#configuration
let deck = new Reveal({
Reveal.initialize({
controls: true,
progress: true,
center: true,
@ -432,8 +432,6 @@ Reveal.on( 'customevent', function() {
plugins: [ Zoom, Notes, Search, Markdown, Highlight ]
});
deck.initialize();
</script>
</body>