1
0
Fork 0
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:
Fred Chasen 2014-12-01 18:11:21 -05:00
parent b1ebc754cd
commit ee19c03287
6 changed files with 282 additions and 65 deletions

View file

@ -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;