Revert "Changes for translator tester compatibility with translation server"

This reverts commit e526a8fa89.

This is a repeat of a0ca67d879. 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:
Dan Stillman 2018-11-12 00:38:06 -05:00
parent 173d24cce5
commit b80c405da4

View file

@ -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"];