1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-03 14:59:18 +02:00
Commit graph

6 commits

Author SHA1 Message Date
Eduardo
0811cf9ea4 fix the getRange in Book return type to Promise 2020-10-23 09:39:20 -03:00
Christiaan Baartse
d690dd9d68 Change Book.coverUrl to return null when there is no cover
CoverUrl now returns an undefined when there is no cover. However not
having a cover is expected behavior for an epub without a cover.
2020-05-22 11:34:03 +02:00
Christiaan Baartse
2f63b16276 Fix broken coverUrl for archived Epubs
When calling coverUrl for an archived epub the resolved promise contains
undefined and not a string.

Also the documentation everywhere is lying about coverUrl() returning a
string whereas it actually returns a Promise that resolves to a string.
2020-05-19 06:48:19 +02:00
Fred Chasen
231496a047 resource process method, types fixes 2018-10-29 18:29:04 -07:00
Fred Chasen
deda82d2a9 Fix localforage require 2018-10-29 11:05:31 -07:00
Fred Chasen
6bfcd1e4eb Added type declarations 2018-08-20 22:21:26 -07:00