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

indexeddb storage

This commit is contained in:
Fred Chasen 2013-01-16 22:14:11 -08:00
parent d90fd14ad2
commit 8e6f8289ca
7 changed files with 312 additions and 14 deletions

View file

@ -14,12 +14,14 @@ FP.app.init = (function($){
//-- Set up our sidebar
$("#main").width($(window).width()-40);
Book = new FP.Book("area", bookURL + "/");
Book = new FP.Book("area");
//Book = new FP.Book("area", "/the-hound-of-the-baskervilles/");
Book.listen("book:metadataReady", meta);
Book.listen("book:tocReady", toc);
Book.start(bookURL + "/");
//-- Wait for Dom ready to handle jquery
$(function() {
controls();