[openstreetmap/openstreetmap-website] Add some javascript to check dynamically if the username is already taken (PR #4402)
Holger Jeromin
notifications at github.com
Wed Dec 13 07:31:10 UTC 2023
> Also that code looks like it has lots of quite modern javascript in it and I'm not sure what our policy is on what our maximum allowed syntax level is.
This is probably the main point:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining#browser_compatibility
Removing support for non-chrome-edge and other browsers which are older than 3.5 years.
But: Browsers without support will fail on parse of the `<script>` tag and fall back to behaviour which is live now "no direct user check".
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4402#issuecomment-1853398435
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4402/c1853398435 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20231212/f225fc1c/attachment.htm>
More information about the rails-dev
mailing list