mirror of
https://github.com/john-okeefe/foliate-js.git
synced 2026-09-09 11:29:14 -04:00
Fix typo
This commit is contained in:
@@ -112,7 +112,7 @@ const XHTML = str => parser.parseFromString(str, 'application/xhtml+xml')
|
||||
const cfi = `/4/10,/3:${i},/3:${i+1}`
|
||||
const range = CFI.toRange(page, CFI.parse(cfi))
|
||||
const n = `${i}`
|
||||
console.assert(range.toString() === n, `expted ${n}, got ${range}`)
|
||||
console.assert(range.toString() === n, `expected ${n}, got ${range}`)
|
||||
}
|
||||
}
|
||||
test(page)
|
||||
@@ -176,7 +176,7 @@ const XHTML = str => parser.parseFromString(str, 'application/xhtml+xml')
|
||||
const cfi = `/4[body0^]!/1^^]/10[para^]/0^,^/5],/3:${i},/3:${i+1}`
|
||||
const range = CFI.toRange(page, CFI.parse(cfi))
|
||||
const n = `${i}`
|
||||
console.assert(range.toString() === n, `expted ${n}, got ${range}`)
|
||||
console.assert(range.toString() === n, `expected ${n}, got ${range}`)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user