commit 0d3923182bf6a15d8e0767bc12fec6bc9d3fbfab
parent 961b4b17d4eeea5dc6d2e50828e603534d645b4f
Author: Simon Kornblith <simon@simonster.com>
Date: Thu, 15 Sep 2011 08:00:07 +0000
Minor tweak to debug code
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/chrome/content/zotero/tools/testTranslators/translatorTester.js b/chrome/content/zotero/tools/testTranslators/translatorTester.js
@@ -154,7 +154,6 @@ Zotero_TranslatorTester.prototype._runTestsRecursively = function(testDoneCallba
};
if(this.type === "web") {
- this._debug(this, "TranslatorTester: Translating "+test.url);
this.fetchPageAndRunTest(test, callback);
} else {
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
*/
Zotero_TranslatorTester.prototype.runTest = function(test, doc, testDoneCallback) {
+ this._debug(this, "TranslatorTester: Translating "+test.url);
+
var me = this;
var translate = Zotero.Translate.newInstance(this.type);