Skip to content

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

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mgol
Copy link
Member

@mgol mgol commented Apr 14, 2025

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

Fixes gh-542
Ref gh-572

The 3.x version: #572

@mgol mgol added this to the 4.0.0 milestone Apr 14, 2025
@mgol mgol self-assigned this Apr 14, 2025
@mgol mgol marked this pull request as draft April 14, 2025 19:31
@mgol mgol force-pushed the event-special-prototype branch from 8689064 to 156957b Compare May 4, 2025 11:53
Allow to use common `Object.prototype` properties on `jQuery.event.special` but
warn as well.

Fixes jquerygh-542
@mgol mgol force-pushed the event-special-prototype branch from 156957b to f42a751 Compare May 5, 2025 15:52
@mgol mgol marked this pull request as ready for review May 5, 2025 15:58
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.

Warn about accessing props from Object.prototype in .data()/jQuery.event.special
1 participant