1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-04 15:09:16 +02:00

New continuos render

This commit is contained in:
fchasen 2014-11-10 09:16:32 -05:00
parent 0013cf417d
commit 03aef89037
13 changed files with 2027 additions and 120 deletions

View file

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