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

Update deprecated jQuery syntax #3826

Merged
merged 3 commits into from
Nov 7, 2019
Merged

Update deprecated jQuery syntax #3826

merged 3 commits into from
Nov 7, 2019

Conversation

javierm
Copy link
Member

@javierm javierm commented Nov 7, 2019

Objectives

  • Make it easier to upgrade to jQuery 3 in the future

Notes

We aren't upgraded to jQuery 3 yet because the annotator library and the cocoon gem use jQuery 1.x, and we have to test their compatibility with jQuery 3 carefully. Upgrading to jQuery 3 also causes our test for foundation's sticky on mobile phones to fail.

These methods had already been superseeded by other methods since jQuery
1.7 or 1.8, and jQuery 3.0 will deprecate them.
We moved to chromedriver a long time ago.
Now we do it the same way we attach images in `nested_imageable`.

Now we don't need to execute some JavaScript in the test, which by the
way was causing an error when upgrading to jQuery 3.
@javierm javierm self-assigned this Nov 7, 2019
@javierm javierm added this to Reviewing in Roadmap via automation Nov 7, 2019
@javierm javierm merged commit f399802 into master Nov 7, 2019
Roadmap automation moved this from Reviewing to Release 1.1.0 Nov 7, 2019
@javierm javierm deleted the jquery3_compatibility branch November 7, 2019 18:00
smarques pushed a commit to venetochevogliamo/consul that referenced this pull request Apr 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Roadmap
  
Release 1.1.0
Development

Successfully merging this pull request may close these issues.

None yet

2 participants