mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-04 15:09:16 +02:00
Switched to Gulp, Basic Scrolling Renderer
This commit is contained in:
parent
b1b98f9d57
commit
d73133e2c7
12 changed files with 4826 additions and 186 deletions
|
@ -257,4 +257,14 @@ EPUBJS.core.resolveUrl = function(base, path) {
|
|||
url = folders.concat(segments);
|
||||
|
||||
return url.join("/");
|
||||
};
|
||||
|
||||
EPUBJS.core.documentHeight = function() {
|
||||
return Math.max(
|
||||
document.documentElement.clientHeight,
|
||||
document.body.scrollHeight,
|
||||
document.documentElement.scrollHeight,
|
||||
document.body.offsetHeight,
|
||||
document.documentElement.offsetHeight
|
||||
);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue