mirror of
https://github.com/john-okeefe/foliate-js.git
synced 2026-10-24 14:59:51 -04:00
Run eslint --fix
This commit is contained in:
1 parent
1217096245
commit
399248a67a
2 files changed
+3
-3
No files matched your search
@@ -164,7 +164,7 @@ const XHTML = str => parser.parseFromString(str, 'application/xhtml+xml')
|
||||
const filter = node => node.nodeType === 1 && node.classList?.contains('SKIP')
|
||||
? NodeFilter.FILTER_SKIP
|
||||
: NodeFilter.FILTER_ACCEPT
|
||||
|
||||
|
||||
// cfi1
|
||||
const para1 = page.getElementById('test-skip-1')
|
||||
const text1 = para1.firstChild
|
||||
@@ -175,7 +175,7 @@ const XHTML = str => parser.parseFromString(str, 'application/xhtml+xml')
|
||||
|
||||
const expected1 = 'epubcfi(/4/2[test-skip-1],/1:3,/1:8)'
|
||||
console.assert(cfi1 === expected1, `expected ${expected1}, got ${cfi1}`)
|
||||
|
||||
|
||||
|
||||
// cfi2
|
||||
const para2 = page.getElementById('test-skip-2')
|
||||
|
||||
Reference in new issue
Block a user