Open danielweck opened 5 years ago
https://github.com/readium/r2-shared-js/blob/44ebead56f6a4e0575c384ddf55cf42c8527f6d6/src/models/publication.ts#L44
Note the backward-compatibility spine vs. readingOrder JSON (de)serialization: https://github.com/readium/r2-shared-js/blob/9de704bf1ea17be1c23748b3f00bd61da469c64a/src/models/publication.ts#L53-L67
spine
readingOrder
https://github.com/readium/r2-shared-js/blob/44ebead56f6a4e0575c384ddf55cf42c8527f6d6/src/models/publication.ts#L44