Make sure Jax loadComplete returns the Ajax.loadComplete callback

This commit is contained in:
Davide P. Cervone 2011-09-18 22:33:37 -04:00
parent ef880131a6
commit ae12c52774
2 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -1948,7 +1948,7 @@ MathJax.Hub.Startup = {
Startup: function () {},
loadComplete: function (file) {
if (file === "config.js") {
AJAX.loadComplete(this.directory+"/"+file);
return AJAX.loadComplete(this.directory+"/"+file);
} else {
var queue = CALLBACK.Queue();
queue.Push(
@ -1967,9 +1967,9 @@ MathJax.Hub.Startup = {
THIS.preProcess = THIS.preTranslate;
THIS.Process = THIS.Translate;
THIS.postProcess = THIS.postTranslate;
},this.constructor.prototype],
["loadComplete",AJAX,this.directory+"/"+file]
},this.constructor.prototype]
);
return queue.Push(["loadComplete",AJAX,this.directory+"/"+file]);
}
}
},{