Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upRemove deprecated event aliases #2286
Comments
Fixes jquerygh-2286 Ref trac-11733
This comment has been minimized.
This comment has been minimized.
|
If we decide to do this, we also need a migrate and docs tickets |
This comment has been minimized.
This comment has been minimized.
|
jquery/jquery-migrate#94 takes care of the Migrate part. |
This comment has been minimized.
This comment has been minimized.
|
upgrade guide says
should be
|
This comment has been minimized.
This comment has been minimized.
|
@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. |
This comment has been minimized.
This comment has been minimized.
|
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
…ith jQuery 3 jquery/jquery#2286
…ith jQuery 3 (#56) jquery/jquery#2286
load,unloadanderror- deprecated since 1.8.Ref http://bugs.jquery.com/ticket/11733