Skip to content
Permalink
Browse files

WHO translator and fixing nits in Copernicus translator (#1731)

  • Loading branch information...
zuphilip committed Sep 2, 2018
1 parent 22aa23a commit 803f04ce5da8d4f23fdeefb5e385554f02857797
Showing with 375 additions and 4 deletions.
  1. +4 −4 Copernicus.js
  2. +371 −0 WHO.js
@@ -9,7 +9,7 @@
"inRepository": true,
"translatorType": 4,
"browserSupport": "gcsibv",
"lastUpdated": "2016-11-09 14:16:59"
"lastUpdated": "2018-03-15 10:41:08"
}

/*
@@ -83,7 +83,7 @@ function scrape (doc, url){
}

function doWeb(doc, url) {
var arts = new Array();
var arts = [];
if (detectWeb(doc, url) == "multiple") {
var items = getSearchResults(doc);
Zotero.selectItems(items, function (items) {
@@ -96,7 +96,7 @@ function doWeb(doc, url) {
ZU.processDocuments(arts, scrape);
});
} else {
scrape(doc, url)
scrape(doc, url);
}
}

@@ -404,4 +404,4 @@ var testCases = [
]
}
]
/** END TEST CASES **/
/** END TEST CASES **/
Oops, something went wrong.

0 comments on commit 803f04c

Please sign in to comment.
You can’t perform that action at this time.