update math example to use 4.0 plugin syntax

This commit is contained in:
Hakim El Hattab 2020-06-05 10:14:41 +02:00
parent bd19860b4d
commit f014952673
1 changed files with 2 additions and 3 deletions

View File

@ -176,6 +176,7 @@
</div>
<script src="../dist/reveal.js"></script>
<script src="../plugin/math/math.js"></script>
<script>
Reveal.initialize({
history: true,
@ -192,9 +193,7 @@
}
},
dependencies: [
{ src: '../plugin/math/math.js', async: true }
]
plugins: [ RevealMath ]
});
</script>