readium / webpub-manifest

📜 A JSON based Web Publication Manifest format used at the core of the Readium project
BSD 3-Clause "New" or "Revised" License
91 stars 23 forks source link

rename original-length to originalLength #45

Closed llemeurfr closed 4 years ago

llemeurfr commented 4 years ago

For the sake of consistency, properties are written using camelCase, and property values are hyphenated.

This is a simplified version of a previous PR, which was about original-length and media-overlay. We're discussing getting rid of the media-overlay property, so we'll wait for this one.

About the impact of such a change, @mickael-menu said: "Not much impact, we just have to parse original-length as a fallback for backward compatibility. We use the in-memory model in the app so the serialization is not used for that."