Converts more loops to for..of loops due to increased readability and change .forEach() in combination with .push() to .map(). You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5604 -- Commit Summary -- * Reevaluate iteration methods -- File Changes -- M app/assets/javascripts/index.js (4) M app/assets/javascripts/index/directions.js (4) M app/assets/javascripts/index/directions/fossgis_valhalla.js (30) M app/assets/javascripts/index/directions/graphhopper.js (33) M app/assets/javascripts/index/history.js (9) M app/assets/javascripts/index/layers/notes.js (4) M app/assets/javascripts/index/query.js (36) M app/assets/javascripts/leaflet.layers.js (8) M app/assets/javascripts/leaflet.share.js (46) M app/assets/javascripts/router.js (10) -- Patch Links -- https://github.com/openstreetmap/openstreetmap-website/pull/5604.patch https://github.com/openstreetmap/openstreetmap-website/pull/5604.diff -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5604 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