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

11 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
Hiroki KIYOHARA
87b7011ed8 Fixed typo. 2018-10-29 22:00:06 +09:00
Fred Chasen
96141d1de3 Update types, version bump to 0.3.74 2018-10-17 15:48:33 -07:00
viking2917
9c2ebacb83 correct documentation for compare method, which confuses which situation returns 1 / -1. 2018-10-04 10:07:23 -10:00
Fred Chasen
8f887bd9ef Update padding to allow overrides 2018-07-20 16:25:54 -07:00
Fred Chasen
9dc61250f4 Remove ePub.register, update Readme 2018-04-30 19:34:19 -07:00
Fred Chasen
46800b05b6 Add layout event and forceEvenPages for default manager 2017-11-08 19:27:58 -08:00
Fred Chasen
d4641243a3 Update test, minify, build docs 2016-11-17 15:37:18 +01:00
Fred Chasen
f4ef0acf40 Allow book to be called with just options 2016-11-14 21:56:28 +01:00
Fred Chasen
d14280b917 Added pageList, initial documentation 2016-11-10 23:08:39 +01:00