1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-08-06 06:38:08 +02:00

convert plugins to ES modules, transpile es5 versions backwards compatibility

This commit is contained in:
Hakim El Hattab
2020-04-15 10:23:51 +02:00
parent 9522357349
commit a55cd813be
36 changed files with 3018 additions and 886 deletions

View File

@@ -4,7 +4,7 @@
*
* @author Hakim El Hattab
*/
var RevealMath = window.RevealMath || (function(){
var RevealMath = (function(){
var options = Reveal.getConfig().math || {};
var mathjax = options.mathjax || 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js';
@@ -91,4 +91,4 @@ var RevealMath = window.RevealMath || (function(){
})();
Reveal.registerPlugin( RevealMath );
export default RevealMath;