mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-04 15:09:16 +02:00
added queue for loading and offline storage of parsed info
This commit is contained in:
parent
ca3e2c24c2
commit
d90fd14ad2
12 changed files with 10017 additions and 47 deletions
|
@ -11,16 +11,6 @@ FP.app.init = (function($){
|
|||
//-- Setup the browser prefixes
|
||||
FP.core.crossBrowserColumnCss();
|
||||
|
||||
//-- Temp set the previos position to section 6,
|
||||
// since moby-dick has lots of crap before the test
|
||||
// Might want to make a way to skip to first chapter
|
||||
if (localStorage.getItem("bookURL") === null ||
|
||||
localStorage.getItem("bookURL") != bookURL) {
|
||||
|
||||
localStorage.setItem("bookURL", bookURL);
|
||||
localStorage.setItem("spinePos", 0);
|
||||
}
|
||||
|
||||
//-- Set up our sidebar
|
||||
$("#main").width($(window).width()-40);
|
||||
|
||||
|
@ -150,6 +140,6 @@ FP.app.init = (function($){
|
|||
|
||||
}
|
||||
|
||||
return init;
|
||||
return init;
|
||||
|
||||
})(jQuery);
|
Loading…
Add table
Add a link
Reference in a new issue