Over the years this script has grown an increasing amount of technical debt. I tried to remove some. You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5597 -- Commit Summary -- * Add early return * Condense key passthrough * Remove mapParams redefinition * Merge gpx parameter passthrough * Split map view parameter conditions * Use const for constants -- File Changes -- M app/assets/javascripts/edit/id.js.erb (66) -- Patch Links -- https://github.com/openstreetmap/openstreetmap-website/pull/5597.patch https://github.com/openstreetmap/openstreetmap-website/pull/5597.diff -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5597 You are receiving this because you are subscribed to this thread. Message ID: <openstreetmap/openstreetmap-website/pull/5...@github.com>
_______________________________________________ rails-dev mailing list rails-dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/rails-dev