1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-08-31 18:22:04 +02:00

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

@@ -128,7 +128,7 @@ Here's a barebones example of a fully working reveal.js presentation:
<section>Slide 2</section>
</div>
</div>
<script src="dist/reveal.min.js"></script>
<script src="dist/reveal.es5.js"></script>
<script>
Reveal.initialize();
</script>
@@ -156,7 +156,7 @@ It's also possible to write presentations using [Markdown](#markdown).
If you only have a single presentation on the page we recommend initializing reveal.js using the singleton API.
```html
<script src="dist/reveal.min.js"></script>
<script src="dist/reveal.es5.js"></script>
<script>
Reveal.initialize({ keyboard: true });
</script>