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

AndSelf should be deprecated in favor of AddBack #121

Open
benjamingr opened this issue Aug 2, 2013 · 3 comments
Open

AndSelf should be deprecated in favor of AddBack #121

benjamingr opened this issue Aug 2, 2013 · 3 comments

Comments

@benjamingr
Copy link

http://api.jquery.com/andSelf/

Has been deprecated in favor of

http://api.jquery.com/addBack/

@jamietre
Copy link
Owner

jamietre commented Aug 5, 2013

I will add addBack - but won't remove andSelf until 2.0

I have to say, I will never understand the rationale for renaming a method in wide release, especially in the world's most widely used library. Is it really ever worth it, no matter how much you regret the original name...

@benjamingr
Copy link
Author

I wouldn't remove it at all if I were you, only [Obsolete] it and alias it to addBack :)

@jamietre
Copy link
Owner

jamietre commented Aug 5, 2013

For now to be sure, 2.0 (whenever that comes, like in 2017) will be a major api change anyway though so i'll kill off the obselete stuff at that point.

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