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/5...@github.com>
_______________________________________________ rails-dev mailing list rails-dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/rails-dev