We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a7db49a + cdea890 commit 199badfCopy full SHA for 199badf
unpacked/extensions/TeX/mhchem.js
@@ -26,9 +26,19 @@
26
*/
27
28
MathJax.Extension["TeX/mhchem"] = {
29
- version: "2.6.0"
+ version: "2.6.0",
30
+ config: MathJax.Hub.CombineConfig("TeX.mhchem",{
31
+ legacy: true
32
+ })
33
};
34
35
+if (!MathJax.Extension["TeX/mhchem"].config.legacy) {
36
+ MathJax.Callback.Queue(
37
+ ["Require",MathJax.Ajax,"[Contrib]/mhchem/mhchem.js"],
38
+ ["loadComplete",MathJax.Ajax,"[MathJax]/extensions/TeX/mhchem.js"]
39
+ );
40
+} else {
41
+
42
MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () {
43
44
var TEX = MathJax.InputJax.TeX;
@@ -492,3 +502,4 @@ MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () {
492
502
});
493
503
494
504
MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/mhchem.js");
505
+}
0 commit comments