-
Notifications
You must be signed in to change notification settings - Fork 20.6k
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
Remove deprecated event aliases #2286
Comments
Fixes jquerygh-2286 Ref trac-11733
If we decide to do this, we also need a migrate and docs tickets |
jquery/jquery-migrate#94 takes care of the Migrate part. |
upgrade guide says
should be
|
@zowers Thanks for the report, fixed! If you find more mistakes, please report them at https://github.com/jquery/jquery.com/issues, this issue tracker is for the jQuery library. The upgrade guide itself is written in Markdown in https://github.com/jquery/jquery.com/blob/master/pages/upgrade-guide/3.0.md. |
Now that I use function that allows do the same job? |
Changed $(window).unload() to $(window).on("unload", ) for compatibility with jQuery 3.x (they've removed methods deprecated since 1.8): jquery/jquery#2286
$( window ).load(function () {}) deprecated since v1.8. Should use $( window ).on("load", function () {}) jquery/jquery#2286
load
,unload
anderror
- deprecated since 1.8.Ref http://bugs.jquery.com/ticket/11733
The text was updated successfully, but these errors were encountered: