mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-04 15:09:16 +02:00
Added render queue
This commit is contained in:
parent
b1ebc754cd
commit
ee19c03287
6 changed files with 282 additions and 65 deletions
|
@ -1,7 +1,7 @@
|
|||
EPUBJS.Infinite = function(container, limit){
|
||||
this.container = container;
|
||||
this.windowHeight = window.innerHeight;
|
||||
this.tick = window.requestAnimationFrame || window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame || window.msRequestAnimationFrame;
|
||||
this.tick = EPUBJS.core.requestAnimationFrame;
|
||||
this.scrolled = false;
|
||||
this.ignore = false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue