removed console.log
This commit is contained in:
parent
c39ed3da21
commit
d64ea3fd34
1 changed files with 238 additions and 239 deletions
|
@ -15,11 +15,12 @@ window.onload = function() {
|
||||||
|
|
||||||
var options = {
|
var options = {
|
||||||
displayMode: "double",
|
displayMode: "double",
|
||||||
zoomMode: "fitWidth"
|
zoomMode: "manual"
|
||||||
}
|
}
|
||||||
|
|
||||||
book = new ComicBook("comic", pages, options);
|
book = new ComicBook("comic", pages, options);
|
||||||
book.draw();
|
book.draw();
|
||||||
|
book.zoom(.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
window.onresize = function() {
|
window.onresize = function() {
|
||||||
|
@ -191,8 +192,6 @@ function ComicBook(id, srcs, opts) {
|
||||||
case "right": ComicBook.prototype.drawNextPage(); break;
|
case "right": ComicBook.prototype.drawNextPage(); break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
defualt: console.log(e.type);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue