]> source.dussan.org Git - jquery.git/commit
Core: Drop the root parameter of jQuery.fn.init
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Mon, 29 Aug 2022 17:03:12 +0000 (19:03 +0200)
committerGitHub <noreply@github.com>
Mon, 29 Aug 2022 17:03:12 +0000 (19:03 +0200)
commitd2436df36a4b2ef556907e734a90771f0dbdbcaf
tree30db31a61ee43b490a6f878209d6ca132b81483f
parent8cf39b78e6c36b360dd81268a7f84fb4ca218e15
Core: Drop the root parameter of jQuery.fn.init

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.

Closes gh-5096
src/core/init.js