www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit b1c3a10f6126712a831d066ce107cbe98ff112c6
parent c5581112692fce06ce226124b6c3862b51d1a200
Author: Dan Stillman <dstillman@zotero.org>
Date:   Wed, 28 Apr 2010 22:00:48 +0000

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


Diffstat:
Mchrome/content/zotero/xpcom/translate.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/translate.js b/chrome/content/zotero/xpcom/translate.js @@ -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;