Skip to content

In warnings.md shows 'ready' event is deprecated but lists as $(document).ready(func); as solution that also is depricated #221

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

Closed
CommanderAlchemy opened this issue Aug 17, 2016 · 2 comments

Comments

@CommanderAlchemy
Copy link

CommanderAlchemy commented Aug 17, 2016

The document Warnings.md have information about ready being depricated that the plugin also warns about.

But it also notes following as a solution.

$( document ).ready( fn )

Looking at Upgrade-Guide It notes that the solution above is removed. I can also confirm that the migrate plugin does not warn about this.

@dmethvin
Copy link
Member

Good point, that wording was left over from a while back before we had deprecated it. Would you like to file a pull request to change it to $( fn ) instead?

@dmethvin
Copy link
Member

Oh and yes there are several new deprecations that need to be added if you'd like to do some of those. There are lists at jquery/api.jquery.com#970 and jquery/api.jquery.com#972 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants