Skip to content

Conversation

@mgol
Copy link
Member

@mgol mgol commented Aug 29, 2022

Summary

The third parameter of jQuery.fn.init - root - was just needed to support
jQuery.sub. Since this API has been removed in jQuery 1.9.0 and Migrate 3.x
is not filling it in, this parameter is no longer needed.

This parameter has never been documented but it's safer to remove it in a major
update.

It would still be good to put that in the upgrade guide.

-2 bytes

Checklist

The third parameter of `jQuery.fn.init` - `root` - was just needed to support
`jQuery.sub`. Since this API has been removed in jQuery 1.9.0 and Migrate 3.x
is not filling it in, this parameter is no longer needed.

This parameter has never been documented but it's safer to remove it in a major
update.
@mgol mgol added Needs review Discuss in Meeting Reserved for Issues and PRs that anyone would like to discuss in the weekly meeting. labels Aug 29, 2022
@mgol mgol added this to the 4.0.0 milestone Aug 29, 2022
@mgol mgol self-assigned this Aug 29, 2022
@timmywil timmywil removed the Discuss in Meeting Reserved for Issues and PRs that anyone would like to discuss in the weekly meeting. label Aug 29, 2022
@mgol mgol added Core and removed Needs review labels Aug 29, 2022
@mgol mgol merged commit d2436df into jquery:main Aug 29, 2022
@mgol mgol deleted the init-no-root branch August 29, 2022 17:03
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 25, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Development

Successfully merging this pull request may close these issues.

2 participants