1
0
mirror of synced 2026-05-22 17:33:14 +00:00

DEV: enforces no-var (#22)

This commit is contained in:
Joffrey JAFFEUX
2020-10-13 11:36:21 +02:00
committed by GitHub
parent ce9b3086ad
commit eecb13b486
3 changed files with 135 additions and 237 deletions
@@ -9,13 +9,13 @@ function initMathJax(opts) {
return;
}
var extensions = ["toMathML.js", "Safe.js"];
let extensions = ["toMathML.js", "Safe.js"];
if (opts.enable_accessibility) {
extensions.push("[a11y]/accessibility-menu.js");
}
var settings = {
let settings = {
jax: ["input/TeX", "input/AsciiMath", "input/MathML", "output/CommonHTML"],
TeX: { extensions: ["AMSmath.js", "AMSsymbols.js", "autoload-all.js"] },
extensions: extensions,