1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-03 14:59:18 +02:00

Fixed single example, added example links to readme

This commit is contained in:
Fred Chasen 2015-05-11 14:15:35 -04:00
parent 27e9046cdc
commit 134b73fc14
6 changed files with 20 additions and 12 deletions

View file

@ -25,7 +25,7 @@ EPUBJS.Continuous = function(book, options) {
EPUBJS.Continuous.prototype = Object.create(EPUBJS.Rendition.prototype);
EPUBJS.Continuous.prototype.constructor = EPUBJS.Continuous;
EPUBJS.Rendition.prototype.attachListeners = function(){
EPUBJS.Continuous.prototype.attachListeners = function(){
// Listen to window for resize event
window.addEventListener("resize", this.onResized.bind(this), false);