mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-04 15:09:16 +02:00
correct documentation for compare method, which confuses which situation returns 1 / -1.
This commit is contained in:
parent
7fd362bb82
commit
9c2ebacb83
1 changed files with 1 additions and 1 deletions
|
@ -1451,7 +1451,7 @@ Compare which of two CFIs is earlier in the text
|
|||
- `cfiOne`
|
||||
- `cfiTwo`
|
||||
|
||||
Returns **[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)** First is earlier = 1, Second is earlier = -1, They are equal = 0
|
||||
Returns **[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)** First is earlier = -1, Second is earlier = 1, They are equal = 0
|
||||
|
||||
### fromRange
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue