1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-04 15:09:16 +02:00
Commit graph

19 commits

Author SHA1 Message Date
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
dcf6ef77d0 Update types for scrollType 2020-05-15 11:11:41 -07:00
Fred Chasen
7b8480fde0
Merge pull request #927 from mikkelvp/dev
Respect pre-paginated page spreads
2020-05-14 23:01:21 -07:00
Fred Chasen
9bd844036d
Merge pull request #889 from yellowtree/css_serialized
Implement serialized themes CSS
2020-05-13 21:44:41 -07:00
Fred Chasen
faab7416c8
Merge pull request #984 from cceglia/master
Added access to NavItem and Location
2020-05-13 21:33:57 -07:00
Fred Chasen
33376c0b91
Merge pull request #1016 from m8524769/fix-parent-type
Fix the parent type of NavItem interface (NavItem -> string)
2020-05-13 21:33:10 -07:00
m8524769
139e9efb22 Fix parent type of NavItem (NavItem -> string) 2019-12-19 00:15:41 +08:00
m8524769
920846bda2 Fix wrong TOC item retruns by Navigation.get() (#831) 2019-12-16 18:56:05 +08:00
Cristiano Ceglia
e00adddc0f
Added access to NavItem and Location
I added the possibility to reference NavItem and Location definitions.
2019-09-27 16:45:45 +02:00
Mikkel Vester Petersen
3f76bb822f Get spread from metadata 2019-09-12 12:22:23 +02:00
Benjamin Pick
8cd4f18bce adding typescript definitions 2018-12-19 11:29:28 +01:00
Fred Chasen
10b451dc1c Added Snap helper 2018-11-03 14:34:20 -07: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
51a573dd90 split out retrive and put methods 2018-10-29 08:58:31 -07:00
Fred Chasen
363be16fd9 Add Storage 2018-10-28 22:31:24 -07:00
Fred Chasen
96141d1de3 Update types, version bump to 0.3.74 2018-10-17 15:48:33 -07:00
Fred Chasen
6bfcd1e4eb Added type declarations 2018-08-20 22:21:26 -07:00