Since the loading of the jax is now done by prepareOutput, no need to check for callbacks in processOutput

This commit is contained in:
Davide P. Cervone 2011-09-04 17:51:18 -04:00
parent a4fdb7b815
commit 2708905233
2 changed files with 2 additions and 9 deletions

File diff suppressed because one or more lines are too long

View File

@ -1540,16 +1540,9 @@ MathJax.Hub = {
var jax = script.MathJax.elementJax; if (!jax) {state.i++; continue}
//
// Call the output Jax's Process method (which will be its Translate()
// method once loaded) and if it returns a call back, restart the processing.
// method once loaded). Mark it as complete and remove the preview.
//
result = MathJax.OutputJax[jax.outputJax].Process(script,state);
if (typeof result === 'function') {
if (result.called) continue; // go back and call Process() again
this.RestartAfter(result);
}
//
// Mark it as complete and remove the preview
//
script.MathJax.state = STATE.PROCESSED; state.i++;
if (script.MathJax.preview) {script.MathJax.preview.style.display = "none"}
//