two js bundles; reveal.js (es6) and reveal.es5.js, add source maps
This commit is contained in:
parent
d9690462e0
commit
4f6bdf1420
31 changed files with 155 additions and 52 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue