Fred Chasen
a1ffc44efa
bump version to 0.3.23
2017-03-30 22:10:00 -04:00
Fred Chasen
a7ea5b2407
Merge pull request #587 from futurepress/location_reporting_fixes
...
Fixes scrolled location reporting
2017-03-30 22:00:18 -04:00
Fred Chasen
00fd8c6b3b
fixes scrolled location reporting
2017-03-30 19:36:33 -04:00
bill-titus
646a09a9e8
Fix spine node index in CFIs ( #584 )
...
* Fix spine node index issue.
A fix is needed in two places.
1.) packaging.js -> use "children" to find only elements rather than "childNode" which can sometimes return text nodes and comment nodes, depending on the format of package.opf.
2.) epubcfi.js -> multiple the spine index by 2 to conform to CFI rules.
NOTE: The existing code works due to these two bugs canceling each other out for cases when the package.opf is formatted with spacing and no comments (and hence including two nodes for every one element in the spine).
* Part 2 for Spine Index fix.
* Fix for Spine Index when <IE9
* Fix for Spine Index in <IE9
* Formatting from spaces to tabs for new line just added.
2017-03-29 13:38:02 -04:00
Fred Chasen
6b01c94d0c
Remove console.log in rendition
2017-03-27 11:37:27 -04:00
Fred Chasen
cde11e83d0
Fix variable issue with naviation parse
2017-03-27 11:32:07 -04:00
Fred Chasen
66242c5e99
Fix navigation isXml check
2017-03-27 11:20:50 -04:00
Fred Chasen
b72c99888b
Bump version to 0.3.19
2017-03-27 10:37:40 -04:00
Fred Chasen
88696166f0
Merge pull request #583 from futurepress/json_manifest
...
Add Support for JSON manifest
2017-03-27 10:32:28 -04:00
Fred Chasen
7e8932807c
Merged resize changes
2017-03-27 10:25:15 -04:00
Fred Chasen
c6355efc6c
Merge branch 'v0.3' of https://github.com/futurepress/epub.js into v0.3
2017-03-27 10:23:49 -04:00
Fred Chasen
433599e0b3
Fix scale parsing for viewport
2017-03-27 10:23:37 -04:00
Fred Chasen
f49b7fffd1
Merge pull request #581 from bill-titus/patch-2
...
Remove poison CFI fix for double spineIndex
2017-03-24 20:06:48 -04:00
bill-titus
3cbad7730f
Remove poison CFI fix for double spineIndex
...
It turns out that spineNodeIndex is set here:
this.spineNodeIndex = Array.prototype.indexOf.call(spineNode.parentNode.childNodes, spineNode);
And childNodes includes the list of all nodes (text and elements) already.
2017-03-24 19:25:08 -04:00
Fred Chasen
f26b0c9f00
Add parsing of json manifest
2017-03-22 11:17:13 -04:00
Fred Chasen
268df221d2
Merge pull request #573 from gerhardsletten/v3-resize-fix
...
Format the layout when size of window has changed
2017-03-21 23:13:31 -04:00
Fred Chasen
0850e60868
Merge branch 'v0.3' of https://github.com/futurepress/epub.js into v0.3
2017-03-21 20:18:14 -04:00
Fred Chasen
51559299b1
Remove byte-order mark before parsing
2017-03-21 20:17:41 -04:00
Fred Chasen
e67620d20a
Merge pull request #578 from bill-titus/patch-1
...
Multiply the spine index value by 2, as it refers to the index of the…
2017-03-21 14:22:22 -04:00
bill-titus
4a4e1795ef
Multiply the spine index value by 2, as it refers to the index of the spine element as opposed to a text node
...
http://www.idpf.org/epub/linking/cfi/epub-cfi.html
2017-03-21 13:03:54 -04:00
Gerhard Sletten
a9a1941f43
Format the layout when size of window has changed
2017-03-18 10:37:03 +01:00
Fred Chasen
120e9fe8b3
Fix Core childNodes function to use passed element, not parent element
2017-03-15 13:56:12 -04:00
Fred Chasen
e482494f32
Bump to version 0.3.17
2017-03-10 14:57:50 -05:00
Fred Chasen
56db346ff7
Merge pull request #570 from futurepress/reportLocation_cleanup
...
Location reporting cleanup
2017-03-10 14:56:49 -05:00
Fred Chasen
9cd28e1144
default manager currentLocation maps all visible views, fix multiple reporting
2017-03-10 14:05:20 -05:00
Fred Chasen
72df566118
Merge pull request #567 from futurepress/injectedjs
...
Inject Script in Rendition, add cfiFromRange to Contents
2017-03-08 13:29:40 -05:00
Fred Chasen
78249761c3
Inject Script in Rendition, add cfiFromRange to Contents
2017-03-08 12:29:47 -05:00
Fred Chasen
6f092c46e5
Update contents css to handle style properties, important
2017-02-26 19:46:24 -05:00
Fred Chasen
f17b7c7443
Fix adjustImages max-height
2017-02-24 19:35:13 -05:00
Fred Chasen
4fe564f03e
Remove padding if laying out columns
2017-02-24 17:49:04 -05:00
Fred Chasen
26a4c40409
Merge pull request #563 from futurepress/update_themes
...
Update themes
2017-02-24 17:41:36 -05:00
Fred Chasen
0b817b19b1
Update themes to allow passing an object, add stylesheet setting in rendition
2017-02-24 17:24:31 -05:00
Fred Chasen
d8f61e0b06
Merge pull request #562 from D-pakGusain/walk-to-node-fix
...
Walk to node fix throws error due to incorrect step index
2017-02-23 10:31:20 -05:00
d-pakgusain
c7c7b78efc
Changes to get a container using id as some times step.index may not be correct.
...
And added break in for loop in case container is undefined.
2017-02-23 15:33:49 +05:30
Fred Chasen
8117f728b3
Merge pull request #552 from imefisto/v0.3-fix-adjust-images
...
Fixing the css rule in the hook to adjust images.
2017-02-20 21:08:01 -05:00
iMefisto
ab4638b10a
fix css rule
2017-02-15 08:03:44 -03:00
Fred Chasen
5269cfc4f8
Merge pull request #542 from Sunil-bb/fix-for-528-534
...
Fix for 534 and 528
2017-02-12 14:40:14 -05:00
Fred Chasen
7bf01d54b9
Merge pull request #547 from futurepress/react_native_fixes
...
React (native) fixes
2017-02-12 13:31:07 -05:00
Fred Chasen
d95ec97f7f
Add Destroy to view managers
2017-02-12 13:27:49 -05:00
Fred Chasen
db727b00a9
add destroy methods
2017-02-10 15:29:20 -05:00
Fred Chasen
265df07917
Fix url to handle file links
2017-02-09 23:38:11 -05:00
Gerhard Sletten
4b43c04e06
Removed a not necessary condition in next() that stops single column … ( #536 )
...
* Removed a not necessary condition in next() that stops single column layout from going to next chapter.
* Add loading on next chapter togather with scrollto that avoids over scrolling the end of chapter
2017-02-07 10:08:14 -05:00
Sunil.Belakeri
88fd89935d
Moved the logic of idenitfying fragment to content.js
2017-02-07 14:08:31 +05:30
Sunil.Belakeri
c0533232d6
Fix for 528
2017-02-07 13:50:43 +05:30
Sunil.Belakeri
dff2b040a0
Fix for issues:
...
https://github.com/futurepress/epub.js/issues/534
https://github.com/futurepress/epub.js/issues/528
2017-02-07 13:24:22 +05:30
Fred Chasen
d6eeb2a458
Add section unload, pause on generation between generation of locations
2017-01-25 17:45:10 -05:00
Fred Chasen
ac1bb6fa23
Switch tocLinkArray to use forEach instead of iterator
2017-01-24 13:21:44 -05:00
Fred Chasen
2d77e802ab
Merge branch 'v0.3' of https://github.com/futurepress/epub.js into v0.3
2017-01-23 23:28:09 -05:00
Fred Chasen
6f2d91a0ce
Add important to adjustImages css rules
2017-01-23 23:28:07 -05:00
Fred Chasen
c345bdc59d
Merge pull request #531 from Sunil-bb/bug427-toc-nav-subitems
...
Fix for https://github.com/futurepress/epub.js/issues/427
2017-01-14 11:04:50 -05:00