Skip to content

Event: Patch jQuery.event.special's prototype #572

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: 3.x-stable
Choose a base branch
from

Conversation

mgol
Copy link
Member

@mgol mgol commented Apr 8, 2025

Note: This is ready to review but skip the first commit; I only marked this as a draft because #570 needs to land first, which is the first commit. The 4.0 version requires PRs #569 & #571 to land first so I haven't created a PR yet.

Allow to use common Object.prototype properties on jQuery.event.special but
warn as well.

Fixes gh-542
Ref gh-573

The 4.0 version: #573

mgol added 2 commits April 7, 2025 23:40
Also, extract the util to patch a prototype as we'll need it in the event
module as well.
Allow to use common `Object.prototype` properties on `jQuery.event.special` but
warn as well.

Fixes jquerygh-542
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant