www

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

commit f14a5e05fa74e83562c0a34d85831d35e1f22bcf
parent 0def6c109fae69a8bbbd96647ce1c46f205a6db1
Author: Dan Stillman <dstillman@zotero.org>
Date:   Fri, 17 Jul 2009 20:19:21 +0000

Fix "line.replace is not a function" error in Refer/BibIX detect as well


Diffstat:
Mrepotime.txt | 2+-
Mtranslators/ReferBibIX.js | 4++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/repotime.txt b/repotime.txt @@ -1 +1 @@ -2009-07-17 05:30:00 +2009-07-17 20:20:00 diff --git a/translators/ReferBibIX.js b/translators/ReferBibIX.js @@ -8,7 +8,7 @@ "maxVersion":"", "priority":100, "inRepository":true, - "lastUpdated":"2008-07-24 23:50:00" + "lastUpdated":"2009-07-17 20:20:00" } Zotero.configure("dataMode", "line"); @@ -18,7 +18,7 @@ function detectImport() { var lineRe = /%[A-Z0-9\*\$] .+/; var line; var matched = 0; - while((line = Zotero.read()) !== "false") { + while((line = Zotero.read()) !== false) { line = line.replace(/^\s+/, ""); if(line != "") { if(lineRe.test(line)) {