www

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

commit 8005ed59e48c617928c9741e1b6f76b749c30aa4
parent b8d89b9d602848b98f72bf74873c8cb81986a3d1
Author: Simon Kornblith <simon@simonster.com>
Date:   Sat,  6 Nov 2010 07:48:58 +0000

fix parse error


Diffstat:
Mtranslators/RIS.js | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/translators/RIS.js b/translators/RIS.js @@ -61,7 +61,7 @@ var typeMap = { artwork:"ART", report:"RPRT", bill:"BILL", - case:"CASE", + "case":"CASE", hearing:"HEAR", patent:"PAT", statute:"STAT", @@ -545,9 +545,9 @@ function doExport() { if(item.abstractNote) { addTag("N2", item.abstractNote.replace(/(?:\r\n?|\n)/g, "\r\n")); } - else if(item.abstract) { + else if(item["abstract"]) { // patent type has abstract - addTag("N2", item.abstract.replace(/(?:\r\n?|\n)/g, "\r\n")); + addTag("N2", item["abstract"].replace(/(?:\r\n?|\n)/g, "\r\n")); } // tags