Skip to content

Commit

Permalink
Fix linting on NLoP
Browse files Browse the repository at this point in the history
  • Loading branch information
adam3smith committed Jun 15, 2023
1 parent a6e270e commit fad0ed6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions National Library of Poland ISBN.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
"priority": 98,
"inRepository": true,
"translatorType": 8,
"browserSupport": "gcsbv",
"lastUpdated": "2023-05-20 15:41:08"
"lastUpdated": "2023-06-15 02:45:16"
}

/*
Expand Down Expand Up @@ -77,7 +76,7 @@ function doSearch(item) {
// <record xmlns='http://www.loc.gov/MARC21/slim'>...</record>
// </collection>
// </resp>
const doc = ((new DOMParser()).parseFromString(xmlText, 'text/xml'))
const doc = ((new DOMParser()).parseFromString(xmlText, 'text/xml'));
let record = doc.querySelector('collection > record');
if (!record) {
return;
Expand Down

0 comments on commit fad0ed6

Please sign in to comment.