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 deprecation warnings on jQuery 3 #2860

Merged
merged 2 commits into from
Aug 22, 2017
Merged

Conversation

stof
Copy link
Collaborator

@stof stof commented Jul 31, 2017

The first commit makes our CI compatible with jQuery 3 (removing usage of the deprecated .size() method in tests).
The second commit removes usage of deprecated APIs of jQuery 3 (our code technically works on jQuery 3 without that, but triggers deprecation warnings when using jquery.migrate, which make it painful for our users trying to migrate away from deprecated APIs). Using on() instead of bind bumps the minimum version of jquery to 1.7. But this is OK IMO, as only jQuery 3 is still maintained nowadays, and jQuery 1.7 was released in 2014.

Closes #2729

stof added 2 commits July 31, 2017 15:13
Tests will now run on both jquery 3 (currently maintained version) and 1.12 (to
ensure we don't break compat with it).
This bumps the min jQuery version to 1.7 rather than 1.6
Copy link
Member

@tjschuck tjschuck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@tjschuck
Copy link
Member

@satchmorun @adunkman If one of you 👍's this, I'm fine merging it on @stof's behalf.

Copy link
Contributor

@adunkman adunkman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You got it, dude!

image

@tjschuck tjschuck merged commit 66f7961 into harvesthq:master Aug 22, 2017
@tjschuck
Copy link
Member

@stof This seems to have broken CI on master when merged: https://travis-ci.org/harvesthq/chosen/builds/267382751

@adunkman
Copy link
Contributor

Easy fix: #2869.

@tjschuck
Copy link
Member

Thanks @adunkman! ❤️ ❤️ 😻 ❤️

@stof stof deleted the jquery_3 branch November 9, 2017 13:41
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

Successfully merging this pull request may close these issues.

4 participants