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.
1 parent 4d1e195 commit 515f1d1Copy full SHA for 515f1d1
components/mjs/node-main/node-main.js
@@ -82,6 +82,7 @@ const init = (config = {}) => {
82
combineConfig(MathJax.config, config);
83
return Loader.load(...CONFIG.load)
84
.then(() => CONFIG.ready())
85
+ .then(() => MathJax.startup.promise) // Wait for MathJax to finish starting up
86
.then(() => MathJax) // Pass MathJax global as argument to subsequent .then() calls
87
.catch(error => CONFIG.failed(error));
88
}
0 commit comments