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

584 commits

Author SHA1 Message Date
Niels Lanting
6d328c02dc
Navigation href fallback for parent detection
The navItem function assumes that every item has an id attribute.
In practice this is not always the case, this will use the href attribute as fallback for the id attribute.
2018-10-03 16:37:03 +02:00
Fred Chasen
7fd362bb82 Add readingOrder for json manifest parsing 2018-09-29 21:32:11 -07:00
Fred Chasen
605211046d Fix width for spreads 2018-09-26 21:45:32 -07:00
Fred Chasen
9c98ca303a Add types for jszip, fix path URL import 2018-09-20 18:15:45 -07:00
Fred Chasen
edf3f2ef79
Merge pull request #826 from christianmemije/fixFindNcxPath
Use querySelector instead of getElementById on manifest node
2018-09-20 11:55:54 -07:00
Christian Memije
5d84819ddb Use querySelector instead of getElementById on manifest node 2018-09-19 15:09:15 -07:00
Niels Lanting
1b9623537a
Added MANAGERS.REMOVED event
This constant is undefined even though the start function in the rendition required this constant.
2018-09-11 16:45:27 +02:00
Fred Chasen
bf8df2a99a
Merge pull request #817 from graydrago/fix_ie11
Fixes for Internet Explorer
2018-09-07 13:41:18 -07:00
olegp
93df8afa54 fix EpubCFI(null) Uncaught TypeError: Cannot read property 'startContainer' of null 2018-09-06 17:03:51 +03:00
Sergey Andreev
92ff286ff9 [fix] URL.constructor error on ie11, xmldom import on ie browsers 2018-09-05 15:00:29 +03:00
Fred Chasen
96a62d2d00 Account for body offset in iframe view size calculations 2018-08-28 16:00:35 -07:00
Fred Chasen
1dbd61a687 Remind Safari to redraw iframe on show 2018-08-24 12:42:40 -07:00
Fred Chasen
8a07db29c0 Update Stage size to allow resizing 2018-08-24 11:56:50 -07:00
Fred Chasen
c3b074e9cf Convert fullsize to setting 2018-08-23 18:59:47 -07:00
Fred Chasen
831ffa5424 Allow setting height on fullsize rendition 2018-08-23 18:36:08 -07:00
Fred Chasen
0bfa5f152a
Merge pull request #813 from futurepress/v0.3
#748 Feature: Media Overlays basic info access
#755 V0.3 add options do disable orientation event programmatically
2018-08-23 17:48:36 -07:00
Fred Chasen
6bfcd1e4eb Added type declarations 2018-08-20 22:21:26 -07:00
Fred Chasen
0da286b0a2 Updated JSDoc types 2018-08-20 19:01:31 -07:00
剑舞
82b61eb967 If type is epub , request xhr with settings requestCredentials 2018-08-13 17:44:43 +08:00
Fred Chasen
f9f6c126e0 Move EPUBJS_VERSION to Constants 2018-07-26 11:28:55 -07:00
Fred Chasen
2df8eefd3b Account for Body padding if fullscreen 2018-07-23 15:25:12 -07:00
Fred Chasen
b76f29be5f Merge branch 'master' into update_padding 2018-07-20 16:26:07 -07:00
Fred Chasen
8f887bd9ef Update padding to allow overrides 2018-07-20 16:25:54 -07:00
Johan Poirier
8fb82b1d1c Set empty subitems array on toc items 2018-07-20 12:52:07 +02:00
Mikkel Vester Petersen
0d5417646a Custom CSS for annotations
Annotations can be created with a CSS class and CSS attributes. Adds the possibility to have multiple annotations with difference styles/colors.
2018-07-05 10:57:21 +02:00
Fred Chasen
7a9469defb
Merge pull request #768 from mikkelvp/master
Floor width from getBoundingClientRect
2018-06-14 14:13:00 -07:00
Fred Chasen
236f8277f7 Update isFloat util to handle strings 2018-06-14 14:11:40 -07:00
Mikkel Vester Petersen
f34731ed96 Floor width from getBoundingClientRect
Width from bounds can be a double. For example 701.5.
The .5 will result in incorrect page change in next() since container.scrollWidth is a whole number.
Meaning it will go to next section skipping the last page in current section.
2018-06-14 00:17:31 +02:00
Giorgio Modoni
fd023bca20 #755 V0.3 add options do disable orientation event programmatically (#756)
* prepare manager to disable programmatically orientation change

* add disableOrientationEvent to disable orientation event programmatically. default false

* fix #755 fire orientationChange even if is disabled by user

* fix #755 rename disableOrientationChange in resizeOnOrientationChange

* fix #755 rename disableOrientationChange in resizeOnOrientationChange and set default true
2018-05-18 00:15:12 -07:00
Fred Chasen
168c121574 Add openAs option 2018-05-17 16:34:33 -07:00
Mikkel Vester Petersen
6a4cb38dea Add priority param to themes override (#757)
* Add priority param to themes override
* Add important to theme font override
2018-05-15 17:22:29 -07:00
Mark White
92afe6752b Navigator check in browser checking. 2018-05-15 11:36:18 +01:00
Anton Korolkov
6ac6e12d32 Fix an issue with opening local files on iOS
iOS returns 0 status when requesting a local file.
2018-05-14 21:43:27 +03:00
Marco Bergantin
72ceefc1b6 #748 Feature: Media Overlays basic info access
exports metadata media:active-class through metadata.media_active_class
exports media-overlay item attribute through overlay key
2018-05-08 17:33:48 +02:00
Fred Chasen
52b6c1a281 Remove contents on iframe view destroy 2018-05-04 17:09:01 -07:00
Fred Chasen
9dc61250f4 Remove ePub.register, update Readme 2018-04-30 19:34:19 -07:00
Kim Persson
108ba01fe6
FIXES check if layout exists before trying to spread it 2017-12-16 19:23:09 +01:00
Fred Chasen
f1fda8a311 Fixes for vertical mode, svg image column adjustments 2017-11-21 12:15:04 -08:00
Fred Chasen
671ed35f34 Only update axis when changed 2017-11-20 17:11:16 -08:00
Fred Chasen
237051055a Re-enable trimming out of frame views 2017-11-20 16:09:47 -08:00
Fred Chasen
781fd1e3bf Update vertical writing support in continuous 2017-11-17 17:35:09 -08:00
Fred Chasen
628be87534 Update layout event 2017-11-08 19:32:44 -08:00
Fred Chasen
46800b05b6 Add layout event and forceEvenPages for default manager 2017-11-08 19:27:58 -08:00
Fred Chasen
77846842cd Documentation clean up 2017-11-07 16:23:23 -08:00
Fred Chasen
3f16c7492e Add landmark method 2017-11-06 12:09:59 -08:00
Fred Chasen
7596f180d8 Add landmark parsing 2017-11-06 11:57:34 -08:00
Fred Chasen
c977fc10d4 Clean up pageList 2017-11-06 11:39:14 -08:00
Fred Chasen
68956abeb9
Move all Event names to Constants file (#680)
* Added Events Constants

* Fix selected event

* Fix EVENT -> EVENTS typo

* Fix RESIZED -> RESIZE typo
2017-11-03 16:29:03 -07:00
Fred Chasen
b1093fa841 Better loaderror handling 2017-11-03 13:41:39 -07:00
Fred Chasen
e2b9ab6f3a Add epubReadingSystem to Contents 2017-11-01 12:20:28 -07:00