1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-03 14:59:18 +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

@ -129,7 +129,7 @@ FP.Queue.prototype.next = function(){
//-- listen for worker response
worker.onmessage = function(e){
var data = e.data;
//console.log("data", data)
task.callback(data);
delete that._tasks[curr]; //-- Remove task
@ -164,4 +164,4 @@ FP.FakeWorker.prototype.onmessage = function(e){
FP.FakeWorker.prototype.close = function(e){
}
}