Skip to content
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

Closed
markelog opened this issue May 9, 2015 · 5 comments
Closed

Remove deprecated event aliases #2286

markelog opened this issue May 9, 2015 · 5 comments

Comments

@markelog
Copy link
Member

@markelog markelog commented May 9, 2015

load, unload and error - deprecated since 1.8.

Ref http://bugs.jquery.com/ticket/11733

@markelog markelog added this to the 3.0.0 milestone May 9, 2015
markelog added a commit to markelog/jquery that referenced this issue May 9, 2015
@markelog
Copy link
Member Author

@markelog markelog commented May 9, 2015

If we decide to do this, we also need a migrate and docs tickets

@dmethvin
Copy link
Member

@dmethvin dmethvin commented May 10, 2015

jquery/jquery-migrate#94 takes care of the Migrate part.

markelog added a commit that referenced this issue May 19, 2015
(Cherry-picked from 0705be4)
Fixes gh-2286
Closes gh-2287
Ref trac-11733
@markelog markelog closed this in 0705be4 May 19, 2015
@zowers
Copy link

@zowers zowers commented May 21, 2016

upgrade guide says

If you need to attach errors by these names, use the .on() method

should be

If you need to attach events by these names, use the .on() method

@mgol
Copy link
Member

@mgol mgol commented May 21, 2016

@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.

@darwindlrd
Copy link

@darwindlrd darwindlrd commented Jul 13, 2016

Now that I use function that allows do the same job?

mythz added a commit to ServiceStack/ServiceStack that referenced this issue Aug 30, 2016
Changed $(window).unload() to $(window).on("unload", ) for compatibility with jQuery 3.x (they've removed methods deprecated since 1.8): jquery/jquery#2286
riverma added a commit to riverma/learn.jquery.com that referenced this issue Sep 7, 2016
$( window ).load(function () {}) deprecated since v1.8. Should use $( window ).on("load", function () {})
jquery/jquery#2286
sapegin added a commit to sapegin/jquery.mosaicflow that referenced this issue Jan 6, 2017
@lock lock bot locked as resolved and limited conversation to collaborators Jun 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

6 participants
You can’t perform that action at this time.