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:
@@ -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>
|
||||
|
Reference in New Issue
Block a user