www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 9209edd081172d1be85ecdadbeb5e320e15999b6
parent 23cf6bd0078fb3c148dc10a2493710cb7e9c61eb
Author: Dan Stillman <dan@danstillman.com>
Date:   Tue, 22 Aug 2017 02:32:05 +0200

Use object for translate() in translator tests

Diffstat:
Mchrome/content/zotero/tools/testTranslators/translatorTester.js | 8++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/chrome/content/zotero/tools/testTranslators/translatorTester.js b/chrome/content/zotero/tools/testTranslators/translatorTester.js @@ -502,7 +502,9 @@ Zotero_TranslatorTester.prototype._runTestTranslate = function(translate, transl } translate.setTranslator(this.translator); - translate.translate(false); + translate.translate({ + libraryID: false + }); }; /** @@ -599,7 +601,9 @@ Zotero_TranslatorTester.prototype.newTest = function(doc, testReadyCallback) { }); translate.setHandler("done", function(obj, returnValue) { me._createTest(obj, multipleMode, returnValue, testReadyCallback) }); translate.capitalizeTitles = false; - translate.translate(false); + translate.translate({ + libraryID: false + }); }; /**