commit b85e5a48ad19c87945a28536bb9f71160bab0bd3
parent 0104a90463fdabce8e9e17980c012c518fe0f027
Author: Davide P. Cervone <dpvc@union.edu>
Date: Wed, 20 Aug 2014 07:59:26 -0400
Merge branch 'issue872' into develop. Issue #872.
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/unpacked/MathJax.js b/unpacked/MathJax.js
@@ -1902,6 +1902,7 @@ MathJax.Hub = {
inputJax: {}, // mime-type mapped to input jax (by registration)
outputJax: {order:{}}, // mime-type mapped to output jax list (by registration)
+ processSectionDelay: 50, // pause between input and output phases of processing
processUpdateTime: 250, // time between screen updates when processing math (milliseconds)
processUpdateDelay: 10, // pause between screen updates to allow other processing (milliseconds)
@@ -2058,11 +2059,15 @@ MathJax.Hub = {
["Post",this.signal,["Begin Math Input",elements,action]],
["processInput",this,state],
["Post",this.signal,["End Math Input",elements,action]],
+ ["Delay",MathJax.Callback,this.processSectionDelay],
["prepareOutput",this,state,"preProcess"],
+ ["Delay",MathJax.Callback,this.processSectionDelay],
["Post",this.signal,["Begin Math Output",elements,action]],
["processOutput",this,state],
["Post",this.signal,["End Math Output",elements,action]],
+ ["Delay",MathJax.Callback,this.processSectionDelay],
["prepareOutput",this,state,"postProcess"],
+ ["Delay",MathJax.Callback,this.processSectionDelay],
["Post",this.signal,["End Math",elements,action]],
["Post",this.signal,["End "+action,elements]]
);