Skip to content

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

Closed
jhadenfeldt wants to merge 1 commit intoCSS-Tricks:masterfrom
jhadenfeldt:master
Closed

replaced the deprecated andSelf() with addBack() in order to increase compatibility with jQuery 1.8+#508
jhadenfeldt wants to merge 1 commit intoCSS-Tricks:masterfrom
jhadenfeldt:master

Conversation

@jhadenfeldt
Copy link
Copy Markdown

andSelf() is deprecated since jQuery 1.8

andSelf() is deprecated since jQuery 1.8
@Mottie
Copy link
Copy Markdown
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
Copy Markdown

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.

3 participants