I've played around a bit in the directions module scope, where a few functions can be collected in a class. You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/7183 -- Commit Summary -- * Refactor distance unit handling in directions output -- File Changes -- M app/assets/javascripts/index_modules/directions/route-output.js (176) -- Patch Links -- https://github.com/openstreetmap/openstreetmap-website/pull/7183.patch https://github.com/openstreetmap/openstreetmap-website/pull/7183.diff -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/7183 You are receiving this because you are subscribed to this thread. Message ID: <openstreetmap/openstreetmap-website/pull/[email protected]>
_______________________________________________ rails-dev mailing list [email protected] https://lists.openstreetmap.org/listinfo/rails-dev
