Change the `MathJax.Hub.Queue(initializeRequest)` to a simpler function call (`initializeRequest.call(this)`). This was failing to give a proper context to initializeRequest, and `this.value` was turning up as `undefined`. Also add a fallback if we need to display some code before MathJax finishes its original typesetting. I was stubbing out `Queue` in my specs, so the tests had to be changed around a little.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
drag_and_drop | Loading commit data... | |
genex | Loading commit data... | |
jsme | Loading commit data... | |
jsmolcalc | Loading commit data... | |
protex | Loading commit data... | |
spec | Loading commit data... | |
src | Loading commit data... | |
README | Loading commit data... | |
annotationinput.js | Loading commit data... | |
chemical_equation_preview.js | Loading commit data... | |
choicetextinput.js | Loading commit data... | |
design-protein-2d.js | Loading commit data... | |
drag_and_drop.js | Loading commit data... | |
edit-a-gene.js | Loading commit data... | |
editamolecule.js | Loading commit data... | |
symbolic_mathjax_preprocessor.js | Loading commit data... |