1
0
Fork 0
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:
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

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