www

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

commit f3c701c92d8e806a8a60eb728d955d8cbbb7a6b2
parent 78205c2482db2778a87925cd4813f0756a2d0242
Author: Simon Kornblith <simon@simonster.com>
Date:   Wed, 12 Jan 2011 19:22:35 +0000

coerce DOI to string in JSTOR translator


Diffstat:
Mtranslators/JSTOR.js | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/translators/JSTOR.js b/translators/JSTOR.js @@ -8,7 +8,7 @@ "priority":100, "inRepository":"1", "translatorType":4, - "lastUpdated":"2010-10-07 01:00:00" + "lastUpdated":"2011-01-12 19:22:04" } @@ -176,7 +176,7 @@ function doWeb(doc, url) { return; } - var doi = xml..doi; + var doi = xml..doi.toString(); // ensure DOI is valid if(!xml..error.length()) {