Add .eslintrc.json

And fix issues
This commit is contained in:
John Factotum
2022-11-04 14:12:07 +00:00
committed by GitHub
parent a9805d3e63
commit 2b51522c43
4 changed files with 29 additions and 5 deletions
+1 -1
View File
@@ -248,7 +248,7 @@ export const makeFB2 = async blob => {
modified: getDate($('document-info date')),
description: annotation ? converter.convert(annotation,
{ annotation: ['div', SECTION] }).innerHTML : null,
subject: $$('title-info genre').map(getElementText)
subject: $$('title-info genre').map(getElementText),
}
book.getCover = () => fetch(getImageSrc($('coverpage image')))
.then(res => res.blob())