Ajax: Deprecate AJAX event aliases, inline event/alias into deprecated#4572
Merged
Conversation
mgol
commented
Jan 6, 2020
7f2efd5 to
45edb67
Compare
Member
Author
|
Ready for another review. |
A new `src/deprecated` directory makes it possible to exclude some deprecated APIs from a custom build when their respective "parent" module is excluded without keeping that module outside of the `src/deprecated` directory or the `src/deprecated.js` file.
45edb67 to
c3ee62a
Compare
timmywil
approved these changes
Jan 20, 2020
Member
Author
mgol
added a commit
to mgol/jquery
that referenced
this pull request
Jan 21, 2020
The file contents now lie in deprecated/event.js so the README reference is no longer correct. Ref jquerygh-4572
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Deprecate AJAX event aliases, inline event/alias.js into deprecated.js.
Regular event aliases are already deprecated, this brings the AJAX ones in line with all the others.
As for inlining - it doesn't make sense to me to have almost all deprecated stuff in
deprecated.jsbut only event aliases inevent/alias.js- but still only imported fromdeprecated.js.If accepted, this should be cherry-picked to
3.x-stableas well.Checklist
New tests have been added to show the fix or feature works