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

Reply via email to