Revert "Changes for translator tester compatibility with translation server"
This reverts commite526a8fa89
. This is a repeat ofa0ca67d879
. The reverted changes break Scaffold. This will need to be fixed in a way that allows Scaffold to continue to work.
This commit is contained in:
parent
173d24cce5
commit
b80c405da4
1 changed files with 6 additions and 1 deletions
|
@ -30,7 +30,12 @@ var EXPORTED_SYMBOLS = ["Zotero_TranslatorTesters"];
|
|||
// For debugging specific translators by label
|
||||
var includeTranslators = [];
|
||||
|
||||
this.Zotero = typeof Zotero != 'undefined' ? Zotero : null;
|
||||
try {
|
||||
Zotero;
|
||||
}
|
||||
catch (e) {
|
||||
var Zotero;
|
||||
}
|
||||
|
||||
var Zotero_TranslatorTesters = new function() {
|
||||
const TEST_TYPES = ["web", "import", "export", "search"];
|
||||
|
|
Loading…
Add table
Reference in a new issue