Changes for translator tester compatibility with translation server

This commit is contained in:
Adomas Venčkauskas 2018-10-31 11:32:19 +02:00
parent 8fdccb828f
commit e526a8fa89

View file

@ -30,12 +30,7 @@ var EXPORTED_SYMBOLS = ["Zotero_TranslatorTesters"];
// For debugging specific translators by label
var includeTranslators = [];
try {
Zotero;
}
catch (e) {
var Zotero;
}
this.Zotero = typeof Zotero != 'undefined' ? Zotero : null;
var Zotero_TranslatorTesters = new function() {
const TEST_TYPES = ["web", "import", "export", "search"];