[openstreetmap/openstreetmap-website] Reorganize parseHash to avoid needing to destructure parseHash.center (PR #5969)
Marwin Hochfelsner
notifications at github.com
Wed Apr 30 08:49:56 UTC 2025
The destructuring of parseHash.center makes using parseHash more unwieldy. Adding these parameters separately allows for easier integration elsewhere.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5969
-- Commit Summary --
* Refactor parseHash to avoid needing to destructure parseHash.center
-- File Changes --
M app/assets/javascripts/edit/id.js.erb (2)
M app/assets/javascripts/osm.js.erb (20)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/5969.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5969.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5969
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5969 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250430/b475c438/attachment-0001.htm>
More information about the rails-dev
mailing list