Revert translator JSON length limit, since some are at least 2.5K

This commit is contained in:
Dan Stillman 2010-04-28 22:00:48 +00:00
parent c558111269
commit b1c3a10f61

View File

@ -228,7 +228,7 @@ Zotero.Translators = new function() {
*/
Zotero.Translator = function(file) {
// Maximum length for the info JSON in a translator
const MAX_INFO_LENGTH = 1024;
const MAX_INFO_LENGTH = 4096;
const infoRe = /{(?:(?:"(?:[^"\r\n]*(?:\\")?)*")*[^}"]*)*}/;
this.file = file;