[openstreetmap/openstreetmap-website] Reduce individual parsing of number strings (PR #5598)
Marwin Hochfelsner
notifications at github.com
Mon Feb 3 14:12:27 UTC 2025
When parsing isn't required, I removed the calls, otherwise, I tried to bundle them so they get less in the way of things.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5598
-- Commit Summary --
* Remove parseFloat calls and restructure
* Collect parseFloat/Int in and restructure mapParams
-- File Changes --
M app/assets/javascripts/fixthemap.js (8)
M app/assets/javascripts/osm.js.erb (47)
M app/assets/javascripts/welcome.js (26)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/5598.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5598.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5598
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5598 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250203/5c1318ce/attachment.htm>
More information about the rails-dev
mailing list