Skip to content
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

[WIP] Event: Use one native handler per jQuery handler #3127

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

Conversation

dmethvin
Copy link
Member

@dmethvin dmethvin commented May 24, 2016

This is definitely a v4 kind of thing with breaking changes and it still needs more work before it passes tests, but I'll post it here in case anyone has thoughts or comments.

EDIT: All my comments from below are in my fork, dmethvin@113ce67

Some tests are still failing, need to fix propagation issues

if ( elem.addEventListener ) {
elem.addEventListener( type, eventHandle );
elem.addEventListener( type, handleObj );
Copy link
Member

Choose a reason for hiding this comment

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

This is still guarded by:

if ( !( handlers = events[ type ] ) ) {

making it one addEventListener per event type... Or am I reading it wrong?

Copy link
Member Author

Choose a reason for hiding this comment

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

Hmm, I'll definitely look into that. Seems like a LOT of stuff should have broken.

@timmywil timmywil added this to the 4.0.0 milestone Jul 13, 2016
@dmethvin dmethvin closed this Aug 4, 2016
@dmethvin dmethvin deleted the v4-demux-handlers branch August 4, 2016 12:40
@dmethvin dmethvin restored the v4-demux-handlers branch August 4, 2016 12:40
@mgol
Copy link
Member

mgol commented Oct 10, 2016

@dmethvin was it supposed to get closed? I suppose not as it still has a milestone so I'm reopening it.

@mgol mgol reopened this Oct 10, 2016
@dmethvin
Copy link
Member Author

Looks like I accidentally deleted the fork in August which closed it, so yeah it should still be open.

Base automatically changed from master to main February 1, 2021 22:02
@mgol
Copy link
Member

mgol commented Sep 17, 2021

Closing & re-opening the PR to trigger the EasyCLA check...

@mgol mgol closed this Sep 17, 2021
@mgol mgol reopened this Sep 17, 2021
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Sep 17, 2021

CLA Signed

The committers are authorized under a signed CLA.

@jquery jquery deleted a comment from 22aam Jan 25, 2022
@jquery jquery deleted a comment from 22aam Jan 26, 2022
@mgol mgol marked this pull request as draft July 18, 2022 12:53
@mgol mgol changed the title [WIP] Event: Use one native handler per jQuery handler Event: Use one native handler per jQuery handler Jul 18, 2022
@mgol mgol changed the title Event: Use one native handler per jQuery handler [WIP] Event: Use one native handler per jQuery handler Jul 18, 2022
@mgol mgol modified the milestones: 4.0.0, 5.0.0 Aug 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants