Minor tweak to debug code
This commit is contained in:
parent
961b4b17d4
commit
0d3923182b
1 changed files with 2 additions and 1 deletions
|
@ -154,7 +154,6 @@ Zotero_TranslatorTester.prototype._runTestsRecursively = function(testDoneCallba
|
||||||
};
|
};
|
||||||
|
|
||||||
if(this.type === "web") {
|
if(this.type === "web") {
|
||||||
this._debug(this, "TranslatorTester: Translating "+test.url);
|
|
||||||
this.fetchPageAndRunTest(test, callback);
|
this.fetchPageAndRunTest(test, callback);
|
||||||
} else {
|
} else {
|
||||||
this.runTest(test, null, callback);
|
this.runTest(test, null, callback);
|
||||||
|
@ -193,6 +192,8 @@ Zotero_TranslatorTester.prototype.fetchPageAndRunTest = function(test, testDoneC
|
||||||
* @param {Function} testDoneCallback A callback to be executed when test is complete
|
* @param {Function} testDoneCallback A callback to be executed when test is complete
|
||||||
*/
|
*/
|
||||||
Zotero_TranslatorTester.prototype.runTest = function(test, doc, testDoneCallback) {
|
Zotero_TranslatorTester.prototype.runTest = function(test, doc, testDoneCallback) {
|
||||||
|
this._debug(this, "TranslatorTester: Translating "+test.url);
|
||||||
|
|
||||||
var me = this;
|
var me = this;
|
||||||
var translate = Zotero.Translate.newInstance(this.type);
|
var translate = Zotero.Translate.newInstance(this.type);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue