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

1322 commits

Author SHA1 Message Date
Fred Chasen
576a5b81dc Fixed scrolled location, updated hypothesis examples 2017-08-25 14:16:45 -04:00
Fred Chasen
86ba893a29 Added .npmignore 2017-08-23 17:37:24 -04:00
Fred Chasen
ced1bf89ff Continuous manager fixes 2017-08-10 15:45:26 -04:00
Fred Chasen
03e7ca085c Fixes for page counting 2017-08-09 17:19:02 -04:00
Fred Chasen
8bfed1593c Fixed spaces in Section 2017-08-07 16:41:12 -07:00
Fred Chasen
c2b3284259 Temp disable scrolling to visible, always re-render 2017-08-02 22:09:52 -04:00
Fred Chasen
6401485f48 Update annotation remove and always add default theme 2017-08-02 16:31:57 -04:00
Fred Chasen
837775b2cf version bump to 0.3.42 2017-08-01 17:26:10 -04:00
Fred Chasen
bb1ab21a33 Updates for rendering in embedded Webviews (#643)
* Initial embedding support

* Updates for rendering in embedded webviews

* toLowerCase nodeName check
2017-08-01 17:25:19 -04:00
fchasen
5cc8b191d0 Listen for transition resize events, remove ResizeObserver polyfill 2017-07-24 18:47:49 -04:00
Fred Chasen
5b44f59604 Added resize observer polyfill 2017-07-21 16:52:13 -04:00
Fred Chasen
276180e292 Update locations generation 2017-07-20 16:01:42 -04:00
Fred Chasen
6b16ebe9d0 Tidy up Locations 2017-07-20 15:57:58 -04:00
Fred Chasen
ef2a0771c6 Version bump to 0.3.40 2017-07-11 15:35:24 -04:00
Fred Chasen
ca6e2d12a3 Merge pull request #638 from futurepress/relocated_event
Relocated event
2017-07-11 12:20:09 -04:00
Fred Chasen
3f4d7bbbf2 Added relocated event 2017-07-10 17:25:26 -04:00
Fred Chasen
aa9c2535d9 Fix min image size, locationOf no longer uses scrollX / Y 2017-07-07 13:43:52 -04:00
Fred Chasen
661d4d77d1 Add metatags for annotations 2017-07-06 17:53:48 -04:00
Fred Chasen
fdf7fda0d9 Include url-polyfill by default, fix linear default to yes 2017-07-03 14:16:32 -04:00
Fred Chasen
2caf88543b Merge branch 'v0.3' of https://github.com/futurepress/epub.js into v0.3 2017-06-28 20:55:54 -04:00
Fred Chasen
46f1e4ab72 Version bump to 0.3.38 2017-06-28 20:49:02 -04:00
Fred Chasen
307c4ea3a8 Merge pull request #636 from futurepress/respect_linear
Respect linear in spine
2017-06-28 20:47:43 -04:00
Fred Chasen
101af4f0f4 Respect linear in spine 2017-06-28 20:40:55 -04:00
Sunil-bb
9131777fa3 Fix for https://github.com/futurepress/epub.js/issues/537 (#550)
* Fix for https://github.com/futurepress/epub.js/issues/537

Following are the changes for getting IE and Firefox working:
• src doc is not supported in IE which was used to render the page content. Now changed the condition if src doc is supported or not and if not we are writing html string to the iframe using iframe.write api.

• Was using page response as xml(responseXML property of xhr), which was creating issue of self closing tags in IE and page was not getting rendered.
Now we have done changes to make use of string output of response to render(using responseText property of xhr) which don't have self closing tags.

• We were not able to load the css and js present in the page contents if they carried a relative URL.
To fix it we have added base tag into the html head so that the js and css links can be found.

• Was using treewalker dom api. In IE expects that acceptNode param should be a function but other browsers expects it to be an object. We have fixed it .

• treewalker dom api has problem with IE if we are passing a text node as root node(throws exception on treewalker.nextNode(), other browsers it returns null). Have added a condition to fix it(if text node do not create treewalker)

* Review change: removed base tag as its being added using hook

* PR changes: reverted the request method implementation and xmlSerialization implementation

* reverted the request method changes to return the response object, now xml is returned

* Updated the condition for IE to use xmldom

Review comment change: To resolve IE self closing tag issue(which causes rendering issue in IE), made use of xmldom npm package.
2017-06-28 20:37:38 -04:00
Fred Chasen
fd9510f190 version bump to 0.3.37 2017-06-17 13:33:46 -04:00
Fred Chasen
dfbc15ab17 Merge pull request #625 from livrereader/v0.3
Implement section#find() in v0.3
2017-06-17 13:33:08 -04:00
Fred Chasen
a2e04ce277 add font override for themes, use text size for resize detection 2017-06-17 13:31:56 -04:00
Jeremy Dormitzer
3e63ac4970
Use alice epub for section#find() tests 2017-06-16 20:51:56 -04:00
Jeremy Dormitzer
4820ab48ab
Remove moby dick test epub 2017-06-16 20:51:37 -04:00
Jeremy Dormitzer
5fed4efcd8
Remove section#textSprint() and use sprint from core utils instead 2017-06-16 20:36:44 -04:00
Fred Chasen
ed3250e95b Reset window scroll position after viewport change 2017-06-16 15:15:17 -04:00
Fred Chasen
8c7f7ac868 version bump to 0.3.36 2017-06-16 13:52:18 -04:00
Fred Chasen
85eda9078b Merge pull request #633 from futurepress/annotations
Add annotation manager in Rendition
2017-06-16 13:48:35 -04:00
Fred Chasen
987a216c55 Add annotation manager in rendition 2017-06-16 13:34:18 -04:00
Fred Chasen
697c101a39 Allow using arrays in themes for @font-face 2017-06-15 11:08:16 -04:00
Fred Chasen
fb69f16990 Bump version to 0.2.20 2017-06-11 23:24:47 -04:00
Fred Chasen
245e23630d Merge pull request #630 from futurepress/fix_hash_links
Fix hash links
2017-06-11 23:24:09 -04:00
Fred Chasen
46b421de9b merged, added package lock 2017-06-11 23:20:57 -04:00
Fred Chasen
42563e4707 Check for relative links before replacement, replace poster frames (#626)
Check for relative links before replacement, replace poster frames
2017-06-11 23:17:37 -04:00
Fred Chasen
f03114c9a3 Fixed hash links, add maxWidth to smartimages 2017-06-11 23:14:46 -04:00
Jeremy Dormitzer
68ea9770a2 Add linkClicked hook to v0.2 (#628)
* Add linkClicked hook

* Build

* Rename link hook to 'book:linkClicked'

* Update docs with new event

* Make documentation links relative

* Build
2017-06-11 23:08:06 -04:00
Fred Chasen
afc906e6b3 Flow update fixes 2017-06-09 12:53:43 -04:00
Fred Chasen
a899ddd4d6 Adjust viewport on contents.fit 2017-06-08 11:52:43 -04:00
Jeremy Dormitzer
2a6ea2b2e7
Test section#find() 2017-05-30 13:57:25 -06:00
Jeremy Dormitzer
3041e80a9a
Implement find() 2017-05-30 13:56:02 -06:00
Fred Chasen
d126157999 Fix missing comma in EpubCFI.generateChapterComponent 2017-05-23 16:57:07 -04:00
Fred Chasen
53a53d8eed Merge pull request #618 from futurepress/cfi_fixes
Bring in spinePos fixes from v0.3 EpubCFI
2017-05-16 11:08:06 -04:00
Fred Chasen
be1367ddf2 Bring in spinePos fixes from v0.3 EpubCFI 2017-05-16 11:04:49 -04:00
fchasen
176125e46b Update core.prefix 2017-05-12 13:34:25 -04:00
Fred Chasen
8cd4108c52 version bump to 0.3.32 2017-05-09 16:46:04 -04:00