Skip to content
Permalink
Browse files

Winnipeg Free Press.js -- fix eslint warnings

  • Loading branch information...
retorquere committed Feb 25, 2019
1 parent 940db2e commit f8a63545a7dc56c2e641155b1623beb459b48b84
Showing with 4 additions and 4 deletions.
  1. +4 −4 Winnipeg Free Press.js
@@ -37,7 +37,7 @@


function detectWeb(doc, url) {
if (url.indexOf('.html')>-1) {
if (url.includes('.html')) {
return "newspaperArticle";
} else if (getSearchResults(doc, true)) {
return "multiple";
@@ -106,7 +106,7 @@ function scrape(doc, url) {
trans.addCustomFields({
'publish-date': 'date',
'cXenseParse:recs:custom2': 'section'
})
});
trans.doWeb(doc, url);
});
}
@@ -200,5 +200,5 @@ var testCases = [
"url": "http://www.winnipegfreepress.com/search/?keywords=chocolate&searchSubmitted=y&sortBy=-startDate",
"items": "multiple"
}
]
/** END TEST CASES **/
];
/** END TEST CASES **/

0 comments on commit f8a6354

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