[openstreetmap/openstreetmap-website] Rename internal variable to avoid confusion (#2548)

Holger Jeromin notifications at github.com
Wed Feb 26 19:31:49 UTC 2020


The rename is only a refactoring preventing confusion like in https://github.com/openstreetmap/openstreetmap-website/pull/2521#discussion_r370989660

The variables `to` and `from` are not the same as the properties a few lines below.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/2548

-- Commit Summary --

  * rename internal variable

-- File Changes --

    M app/assets/javascripts/index/directions.js (12)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/2548.patch
https://github.com/openstreetmap/openstreetmap-website/pull/2548.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2548
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200226/cc256b1d/attachment.htm>


More information about the rails-dev mailing list