mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-04 15:09:16 +02:00
Updated timing, check for script prop, add viewport metatags
This commit is contained in:
parent
1f7a4a2ccf
commit
b3a6f1f0c6
9 changed files with 62 additions and 82 deletions
|
@ -180,12 +180,12 @@ EPUBJS.Parser.prototype.manifest = function(manifestXml){
|
|||
href = item.getAttribute('href') || '',
|
||||
type = item.getAttribute('media-type') || '',
|
||||
properties = item.getAttribute('properties') || '';
|
||||
|
||||
|
||||
manifest[id] = {
|
||||
'href' : href,
|
||||
// 'url' : href,
|
||||
'type' : type,
|
||||
'properties' : properties
|
||||
'properties' : properties.length ? properties.split(' ') : []
|
||||
};
|
||||
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue