summaryrefslogtreecommitdiff
path: root/lib/epub.js/src/epubcfi.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2023-04-11 07:19:49 +0300
committerAndrew Dolgov <[email protected]>2023-04-11 07:19:49 +0300
commit8ce9ca1d928bda4b2721dfda03dbf2831b12626c (patch)
treebe881bed89d6cb977d4f68aeaa28cd0af9b9728d /lib/epub.js/src/epubcfi.js
parenta72807a9b1c4d6b6688b86abd4b7b71feaea3ca0 (diff)
bump epubjs to 0.3.93
Diffstat (limited to 'lib/epub.js/src/epubcfi.js')
-rw-r--r--lib/epub.js/src/epubcfi.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/epub.js/src/epubcfi.js b/lib/epub.js/src/epubcfi.js
index 77142a3..98a6b90 100644
--- a/lib/epub.js/src/epubcfi.js
+++ b/lib/epub.js/src/epubcfi.js
@@ -109,7 +109,7 @@ class EpubCFI {
}
if(cfiStr.indexOf("epubcfi(") === 0 && cfiStr[cfiStr.length-1] === ")") {
- // Remove intial epubcfi( and ending )
+ // Remove initial epubcfi( and ending )
cfiStr = cfiStr.slice(8, cfiStr.length-1);
}
@@ -395,7 +395,7 @@ class EpubCFI {
return -1;
}
- // Compare the charecter offset of the text node
+ // Compare the character offset of the text node
if(terminalA.offset > terminalB.offset) {
return 1;
}