-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Camelcase all keys #4163
Copy link
Copy link
Closed
Labels
breaking change ⚠️Requires a backwards-incompatible change to the APIRequires a backwards-incompatible change to the APIcross-platform 📺Requires coordination with Mapbox GL Native (style specification, rendering tests, etc.)Requires coordination with Mapbox GL Native (style specification, rendering tests, etc.)
Metadata
Metadata
Assignees
Labels
breaking change ⚠️Requires a backwards-incompatible change to the APIRequires a backwards-incompatible change to the APIcross-platform 📺Requires coordination with Mapbox GL Native (style specification, rendering tests, etc.)Requires coordination with Mapbox GL Native (style specification, rendering tests, etc.)
From @lucaswoj on December 23, 2016 14:41
Working with Mapbox style spec objects in Javascript is less ergonomic because all the dashcase properties must be quoted when they are used as identifiers.
They look odd in conjunction with the camelcased source properties #175
Copied from original issue: mapbox/mapbox-gl-style-spec#638