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

replaced the deprecated andSelf() with addBack() in order to increase compatibility with jQuery 1.8+ #508

Closed
wants to merge 1 commit into from

Conversation

jhadenfeldt
Copy link

andSelf() is deprecated since jQuery 1.8

andSelf() is deprecated since jQuery 1.8
@Mottie
Copy link
Contributor

Mottie commented Mar 19, 2013

Hi greyscales!

Thanks for contributing! I think we might need to add a check for addBack() and use fallback to andSelf() if it doesn't exist to keep this compatible with older versions of jQuery. I'll merge this and make that change soon :)

@multiformeingegno
Copy link

I was posting the exact same thing. I upgraded to jQuery 2.0.0 and did a quick test with jQuery Migrate on AnythingSlider. I got these warnings :)
"jQuery.fn.andSelf() replaced by jQuery.fn.addBack()"
"jQuery.attrFn is deprecated"
"jQuery.browser is deprecated"

@Mottie Mottie closed this in cb01ac8 Apr 24, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants