1
0
Fork 0
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:
Fred Chasen 2013-01-16 12:20:36 -08:00
parent ca3e2c24c2
commit d90fd14ad2
12 changed files with 10017 additions and 47 deletions

View file

@ -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);