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

Effects: Remove jQuery.fx.interval #5017

Merged
merged 2 commits into from
Mar 1, 2022
Merged

Conversation

mgol
Copy link
Member

@mgol mgol commented Feb 22, 2022

Summary

jQuery.fx.interval has been deprecated since jQuery 3.0.0 but it has been
still used in jQuery code until this change.

The PR is divided into two commits. The first one just updates tests to parametrize them by a local fxInterval variable that's supposed to imitate jQuery.fx.interval. The second commit updates the source to remove jQuery.fx.interval and changes the value of fxInterval in tests from 10 to 13 as it's no longer possible to tweak this value which has been done until now.

Each of the commits passes tests.

Fixes gh-4018

-12 bytes 🎉

Checklist

The variable is meant to represent the `jQuery.fx.interval` value. In a future
commit, it's going to be set to `13` and `jQuery.fx.interval` will no longer
be defined.
`jQuery.fx.interval` has been deprecated since jQuery 3.0.0 but it has been
still used in jQuery code until this change.
@mgol mgol removed the Needs review label Mar 1, 2022
@mgol mgol merged commit 6c2c736 into jquery:main Mar 1, 2022
@mgol mgol deleted the fx-interval-removal branch March 1, 2022 13:11
@mgol mgol mentioned this pull request Aug 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants