Not all translators are supported

This commit is contained in:
Simon Kornblith 2012-04-16 01:29:49 -04:00
parent cfc5bc33e8
commit 2327c5cc98

View file

@ -142,9 +142,9 @@ Zotero_TranslatorTesters = new function() {
Zotero_TranslatorTester = function(translator, type, debugCallback) { Zotero_TranslatorTester = function(translator, type, debugCallback) {
this.type = type; this.type = type;
this.translator = translator; this.translator = translator;
this.translator.runMode = Zotero.Translator.RUN_MODE_IN_BROWSER;
this.output = ""; this.output = "";
this.isSupported = this.translator.runMode === Zotero.Translator.RUN_MODE_IN_BROWSER; this.isSupported = this.translator.runMode === Zotero.Translator.RUN_MODE_IN_BROWSER;
this.translator.runMode = Zotero.Translator.RUN_MODE_IN_BROWSER;
this.tests = []; this.tests = [];
this.pending = []; this.pending = [];