Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/epub module refactoring #42

Merged
merged 5 commits into from
Jun 1, 2014
Merged

Conversation

aadamowski
Copy link
Member

Hi,

This pull request contains the current progress on epub module refactoring.

Changes in this request eliminate the remaining usages of data structures endemic to readium-js. Now, only data structures accepted by readium-shared-js are produced and used.

Also, in a separate commit, the fix for rendition_spread property propagation is included.

The pull request should merge cleanly onto develop.

This commit eliminates the remaining usages of JSON data structures that
were endemic to readium-js. Currently, only data structures accepted by
readium-shared-js are produced and used.
The recursive approach has been using up call stack.

Modern browsers can suffer from call stack limits as low as 20k frames - see:

http://stackoverflow.com/a/7828803

This would cause problems for publications containing more than about
20k spine items, which isn't quite outside the domain of possibility.
bormind added a commit that referenced this pull request Jun 1, 2014
@bormind bormind merged commit 7510085 into develop Jun 1, 2014
@aadamowski aadamowski deleted the feature/epub-module-refactoring branch June 10, 2014 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants