1
0
Fork 0
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:
Fred Chasen 2015-05-19 22:40:41 -04:00
parent 1f7a4a2ccf
commit b3a6f1f0c6
9 changed files with 62 additions and 82 deletions

View file

@ -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(' ') : []
};
});