mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-26 16:30:55 +00:00
261310bad9
* drop some of the init lines that don't appear to work/be needed * only load MathJax.js through ResourceLoader; let MathJax's loader handle the rest This gets us working in Chrome, where previously we hadn't initialized correctly. Should also help in IE, still needs testing. Will probably want to swap in the pre-minimized versions of the files at some point, but the expanded ones are fine at this stage of work.
7 lines
321 B
JavaScript
7 lines
321 B
JavaScript
MathJax.Hub.Config({
|
|
extensions: ["wiki2jax.js","TeX/texvc.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js"],
|
|
jax: ["input/TeX","output/HTML-CSS"],
|
|
TeX: {extensions: ["noErrors.js","noUndefined.js","AMSmath.js","AMSsymbols.js"]}
|
|
});
|
|
MathJax.Ajax.loadComplete("[MathJax]/config/TeX-AMS-texvc_HTML.js");
|