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:
parent
d90fd14ad2
commit
8e6f8289ca
7 changed files with 312 additions and 14 deletions
|
@ -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){
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue