Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/packaging.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,15 @@ class Packaging {
type = item.getAttribute("media-type") || "",
overlay = item.getAttribute("media-overlay") || "",
properties = item.getAttribute("properties") || "";
fallback = item.getAttribute("fallback") || "";

manifest[id] = {
"href" : href,
// "url" : href,
"type" : type,
"overlay" : overlay,
"properties" : properties.length ? properties.split(" ") : []
"properties" : properties.length ? properties.split(" ") : [],
"fallback" : fallback,
};

});
Expand Down
3 changes: 2 additions & 1 deletion types/packaging.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ export interface PackagingSpineItem {
export interface PackagingManifestItem {
href: string,
type: string,
properties: Array<string>
properties: Array<string>,
fallback: string
}

export interface PackagingManifestObject {
Expand Down