1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-05 15:32:55 +02:00

Added basic pagination

This commit is contained in:
Fred Chasen 2014-08-28 17:05:13 -04:00
parent 1a89a9c3ff
commit 816880d328
12 changed files with 1289 additions and 373 deletions

View file

@ -162,9 +162,9 @@ EPUBJS.Book.prototype.section = function(target) {
// Sugar to render a book
EPUBJS.Book.prototype.renderTo = function(element, options) {
var rendition = new EPUBJS.Renderer(this, options);
rendition.attachTo(element);
return rendition;
this.rendition = new EPUBJS.Renderer(this, options);
this.rendition.attachTo(element);
return this.rendition;
};
EPUBJS.Book.prototype.requestMethod = function(_url) {