dotnet-websharper / core

WebSharper - Full-stack, functional, reactive web apps and microservices in F# and C#
https://websharper.com
Apache License 2.0
589 stars 52 forks source link

Correct capitalization in the HTML5 namespace #1400

Open granicz opened 3 months ago

granicz commented 3 months ago

For instance, XMLHttpRequest.Onreadystatechange should be correctly capitalized as OnReadyStateChange.

https://github.com/dotnet-websharper/core/blob/bdb53e91665cd66d462851eaa85c47e962969db4/src/stdlib/WebSharper.JavaScript/Html5.fs#L2266

Be sure to keep the old variants as obsolete, with a message to update calls to the new one.