two js bundles; reveal.js (es6) and reveal.es5.js, add source maps
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user