-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecate method names before removing them #1451
Comments
That was the intention (per the docs) but apparently it wasn't handled correctly in code. Is that enough to close this issue, or do you want to see that implemented for requestFullscreen? I'm fine either way. |
I missed the docs and thought the removal was intentional. I'm not sure why but it looks like |
@dmlap so the issue was the difference between exports and externs. Externs don't guarantee the function will exist in the final compile. Closure may still decide to remove the function if it doesn't look like it's being used internally anywhere. |
Ugh. Ok, I'll keep that in mind for the future, thanks. |
In 4.6.0,
requestFullScreen()
was renamed torequestFullscreen()
. According to semver, removal of the old form probably should have waiting until version 5.0. In the future, I propose that we keep the old method name, log a warning about deprecation, and delegate to the "modernized" equivalent.The text was updated successfully, but these errors were encountered: