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

Merged
merged 1 commit into from
May 12, 2025

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 2 times, most recently 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
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 f42a751 to d102f33 Compare May 12, 2025 16:18
@mgol mgol merged commit 8f5205e into jquery:main May 12, 2025
13 checks passed
@mgol mgol deleted the event-special-prototype branch May 12, 2025 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
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
2 participants