Fred Chasen
1c5e7c03fd
ignore working for simple highlights
2016-01-02 23:42:35 -05:00
Steve Chiu
75f7069fa0
Improve XHR compatibility
...
1. Always check for valid response
2. move xhr.onreadystatechange before open (seems to make difference on
iOS, otherwise we get status===200, but null response)
3. reformat the code
2015-12-31 22:19:18 +08:00
Fred Chasen
7cad24b414
Handle misses in epubcfi
2015-12-23 15:38:01 -08:00
Steve Chiu
69cb82bb9c
Allow recover from renderer error
2015-12-20 14:44:15 +08:00
Steve Chiu
af3385efcd
Allow client to abort pagination early
...
It would take 8-10 seconds to do full pagination on mobile devices, it
would be great if we can abort the process quickly when user rotate the
screen.
2015-12-20 13:29:17 +08:00
Steve Chiu
10755ca975
Remove the range check
...
I am not sure why the last page check is needed, but it produces the
wrong result that I can’t goto the last page correctly
2015-12-20 13:26:48 +08:00
fchasen
f01c2c9e8e
cfi findNodes
2015-12-19 18:19:46 -05:00
fchasen
b4150fb164
filter and patch offset if in ignored element
2015-12-17 23:49:42 -05:00
fchasen
b0fde55527
get cfis from range and node
2015-12-17 21:17:04 -05:00
fchasen
ca6d27f4f8
Added compare
2015-12-16 23:17:34 -05:00
fchasen
7c3af4493c
added mochify test runner and epubcfi test
2015-12-16 21:58:23 -05:00
Fred Chasen
b809fe9498
Fix global cfi var in locations
2015-12-16 15:04:11 -05:00
Fred Chasen
32e2026979
Fix the locations examples
2015-12-16 14:37:14 -05:00
Fred Chasen
05f1b92094
add incomplete epubcfi update
2015-12-15 20:12:46 -05:00
Fred Chasen
443eada639
Fix smartimages in ie
2015-12-10 20:07:42 -05:00
fchasen
57df816060
Ignore a node when finding the cfi path
2015-12-09 23:12:20 -05:00
Fred Chasen
8d1f6cd825
Update treeWalker to catch IE errors
2015-12-08 13:48:10 -05:00
fchasen
7547bce31e
Fix baseUrl when opening a directory
2015-12-06 23:43:45 -05:00
fchasen
518c1599c3
Replace css text with archived assets links
2015-12-06 23:37:48 -05:00
fchasen
13467128e5
Switch to URI.js for url parsing, basic replacement for Archived urls
2015-12-06 22:14:02 -05:00
fchasen
af5583191e
Updated coverUrl
2015-12-04 18:10:50 -05:00
fchasen
c13f698301
update epubcfi from master
2015-12-04 17:53:37 -05:00
fchasen
645d64dc06
update locations from master
2015-12-04 17:46:10 -05:00
fchasen
9471414ee0
update parser from master
2015-12-04 17:42:30 -05:00
fchasen
fb61126382
Handle archived epubs
2015-12-04 17:21:26 -05:00
fchasen
dc224a212a
expose ePub, add request, add unarchive/jszip
2015-12-04 12:12:15 -05:00
fchasen
91d1df14b1
setup browserify and requires
2015-12-03 23:41:49 -05:00
Fred Chasen
64a55aca61
switch back to moby dick in reader
2015-12-03 17:32:05 -05:00
Fred Chasen
c2300afe42
Generic ncx mimetype so that it will be parse as xml, fixes #345
2015-12-03 17:20:57 -05:00
Fred Chasen
fbc8fc1bd7
built v0.2.13
2015-12-03 13:58:24 -05:00
Fred Chasen
a02bc8ff4d
Replace assets on gotoCfi, fixes #317 , #314
2015-12-03 13:56:59 -05:00
Fred Chasen
0884a0aa8c
Merge pull request #323 from bit/patches
...
fix loading .htm files and relative links if epub.js is not at /
2015-12-02 21:11:53 -05:00
fchasen
1bbe9e0d17
Clean up grunt file, fix global vars
2015-12-01 23:12:37 -05:00
fchasen
d21e2a39f8
Added sourceRoot to source maps
2015-12-01 19:33:08 -05:00
fchasen
9b0cd9600d
fix visible cfi range if uneven number of pages in map
2015-12-01 19:23:49 -05:00
fchasen
9d5424e6fc
built
2015-12-01 18:38:37 -05:00
fchasen
e8bc4a7aa8
Merge branch 'master' of github.com:futurepress/epub.js
2015-12-01 18:31:00 -05:00
fchasen
71a12457c4
Remove epub_no_underscore from builds
2015-12-01 18:30:44 -05:00
Fred Chasen
3d36b39d58
added book.coverUrl() method
2015-12-01 11:33:15 -05:00
fchasen
4becb68c5c
Remove logging
2015-11-30 20:20:36 -05:00
fchasen
0f9c5bdc94
Fix title page mapping
2015-11-30 20:19:42 -05:00
fchasen
778c73060f
Switch to textSprint for mapping pages, make sure to not skip element
2015-11-30 20:17:24 -05:00
Fred Chasen
de00f64db4
Merge pull request #333 from peeter-tomberg/FEATURE-284
...
#284 Check if meta element for cover is present while parsing in findCoverPath.
2015-11-30 18:32:11 -05:00
Fred Chasen
2848af223d
Merge pull request #321 from timbod7/fix/pageend-cfi
...
Fix incorrect page end calculations
2015-11-29 22:31:19 -05:00
Fred Chasen
51c7ba0b64
Remove undefined pageCount
2015-11-29 22:27:51 -05:00
Peeter
8029ab8736
#284
2015-11-27 16:25:25 +02:00
RawKStar77
9d26cd0560
Improve hypothesis example.
2015-11-24 15:40:38 -08:00
Fred Chasen
a44b857616
built
2015-11-24 15:28:14 -08:00
fchasen
76aab85dc4
Hypothesis examples
2015-11-20 20:05:07 -05:00
Fred Chasen
c2088a1b3a
Merge pull request #322 from alex-atomic/patch-1
...
Update parser.js to check if query is null for IE
2015-11-19 12:47:28 -05:00