mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-03 14:59:18 +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
|
@ -121,3 +121,18 @@ FP.core.crossBrowserColumnCss = function(){
|
|||
// FP.core.columnWidth = cssIfy(FP.core.columnWidth);
|
||||
|
||||
}
|
||||
|
||||
FP.core.toArray = function(obj) {
|
||||
var arr = [];
|
||||
|
||||
for (member in obj) {
|
||||
var newitm;
|
||||
if ( obj.hasOwnProperty(member) ) {
|
||||
newitm = obj[member];
|
||||
newitm.ident = member;
|
||||
arr.push(newitm);
|
||||
}
|
||||
}
|
||||
|
||||
return arr;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue