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 14f184f + 515f1d1 commit 8769f75Copy full SHA for 8769f75
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