Forum Discussion
This served me perfectly before, but in my recent exports the main.bundle.js file has not contained the expression:
return e.createElement("div", null, this.props.children)
There is a
return e.createElement("div",null,this.props.children,e.createElement("div",{className:"browser-support"},....
but adding the MathJax line here does not seem to help. Any ideas?
Edit: The math content seems to be loading properly after completing a browser page refresh, but does not load properly when navigating from lesson to lesson.
Edit 2: Though I don't understand JavaScript well enough to understand what exactly is happening, I have things working by brute force: replacing ALL instances of:
;return e.createElement("div"
with
;MathJax.Hub.Queue(["Typeset",MathJax.Hub]);return e.createElement("div"