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

View File

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