mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-03 14:59:18 +02:00
Added error handles, sections, updated url resolving, use book.request for requests
This commit is contained in:
parent
c6465177c5
commit
c29e5f84ee
19 changed files with 3049 additions and 683 deletions
|
@ -187,7 +187,7 @@ EPUBJS.Parser.prototype.manifest = function(manifestXml){
|
|||
'type' : type,
|
||||
'properties' : properties
|
||||
};
|
||||
|
||||
|
||||
});
|
||||
|
||||
return manifest;
|
||||
|
@ -210,6 +210,7 @@ EPUBJS.Parser.prototype.spine = function(spineXml, manifest){
|
|||
var propArray = props.length ? props.split(' ') : [];
|
||||
// var manifestProps = manifest[Id].properties;
|
||||
// var manifestPropArray = manifestProps.length ? manifestProps.split(' ') : [];
|
||||
|
||||
var itemref = {
|
||||
'idref' : idref,
|
||||
'linear' : item.getAttribute('linear') || '',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue