Make sure Jax loadComplete returns the Ajax.loadComplete callback
This commit is contained in:
parent
ef880131a6
commit
ae12c52774
File diff suppressed because one or more lines are too long
|
@ -1948,7 +1948,7 @@ MathJax.Hub.Startup = {
|
||||||
Startup: function () {},
|
Startup: function () {},
|
||||||
loadComplete: function (file) {
|
loadComplete: function (file) {
|
||||||
if (file === "config.js") {
|
if (file === "config.js") {
|
||||||
AJAX.loadComplete(this.directory+"/"+file);
|
return AJAX.loadComplete(this.directory+"/"+file);
|
||||||
} else {
|
} else {
|
||||||
var queue = CALLBACK.Queue();
|
var queue = CALLBACK.Queue();
|
||||||
queue.Push(
|
queue.Push(
|
||||||
|
@ -1967,9 +1967,9 @@ MathJax.Hub.Startup = {
|
||||||
THIS.preProcess = THIS.preTranslate;
|
THIS.preProcess = THIS.preTranslate;
|
||||||
THIS.Process = THIS.Translate;
|
THIS.Process = THIS.Translate;
|
||||||
THIS.postProcess = THIS.postTranslate;
|
THIS.postProcess = THIS.postTranslate;
|
||||||
},this.constructor.prototype],
|
},this.constructor.prototype]
|
||||||
["loadComplete",AJAX,this.directory+"/"+file]
|
|
||||||
);
|
);
|
||||||
|
return queue.Push(["loadComplete",AJAX,this.directory+"/"+file]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},{
|
},{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user