[openstreetmap/openstreetmap-website] Replace var in javascript with let/const (PR #5558)

Marwin Hochfelsner notifications at github.com
Sun Feb 9 16:41:25 UTC 2025


@hlfan commented on this pull request.



> -      url: content_path,
+      url: path,

If you're already cleaning up after me, you can define the function as `function (url, callback)` for even more conciseness.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5558#pullrequestreview-2604311149
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5558/review/2604311149 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250209/f15d025e/attachment.htm>


More information about the rails-dev mailing list