🌐 AI搜索 & 代理 主页
Skip to content

Conversation

@mgol
Copy link
Member

@mgol mgol commented Feb 4, 2020

Summary

jQuery.event.global has been write-only in the jQuery source for the past few
years; reading from it was removed in c2d6847
when fixing the trac-12989 bug.

Checklist

jQuery.event.global has been write-only in the jQuery source for the past few
years; reading from it was removed in c2d6847
when fixing the trac-12989 bug.
@mgol mgol added this to the 4.0.0 milestone Feb 4, 2020
@mgol mgol self-assigned this Feb 4, 2020
@mgol
Copy link
Member Author

mgol commented Feb 4, 2020

-11 bytes

Copy link
Member

@dmethvin dmethvin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. The idea was that we could skip some steps if we knew we had never attached a handler for a specific event name, but as I recall it had some gotcha so that's why the tracking was removed. I don't see any reason to try to fill this in Migrate either.

@mgol mgol removed the Needs review label Feb 10, 2020
@mgol mgol merged commit 18db871 into jquery:master Feb 10, 2020
@mgol mgol deleted the event-global-removal branch February 10, 2020 18:13
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 29, 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.

3 participants