mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
d7e13f128a
This commit requires all function parameters to be used, not just the last one.
In cases where that's not possible as we need to match an external API, there's
an escape hatch of prefixing an unused argument with `_`.
This change makes it easier to catch unused AMD dependencies and unused
parameters in internal functions the API of which we may change at will, among
other things.
Unused AMD dependencies have been removed as part of this commit.
Closes gh-4381
(cherry-picked from
|
||
---|---|---|
.. | ||
release | ||
tasks | ||
release.js |