Skip to content

Make SyntheticEvent.target generic, not SyntheticEvent.currentTarget. - #11531

Merged
vvakame merged 1 commit into
DefinitelyTyped:types-2.0from
Emm:types-2.0
Oct 25, 2016
Merged

vvakame merged 1 commit into
DefinitelyTyped:types-2.0from
Emm:types-2.0

Conversation

@Emm

@Emm Emm commented Sep 27, 2016

Copy link
Copy Markdown
Contributor

See #11508 for further discussion.

@bogusfocused bogusfocused left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This corrects the merge error.

@vvakame vvakame added the @types label Sep 28, 2016
@s-panferov

Copy link
Copy Markdown

What prevents this to be merged?

@nantaphop

Copy link
Copy Markdown

Merge please...

@vvakame
vvakame merged commit 2717467 into DefinitelyTyped:types-2.0 Oct 25, 2016
@vvakame

vvakame commented Oct 25, 2016

Copy link
Copy Markdown
Member

sorry for late!

@bbenezech

Copy link
Copy Markdown
Contributor

@vvakame see my comment here #11508 (comment)

We need to revert this commit as soon as possible (before everyone wrongfully adapt their codebase and send their users to bugland)

@bbenezech

Copy link
Copy Markdown
Contributor

Also (same opinion as mine, came earlier in the git-storm) #10811 (comment)

For everyone: use event.currentTarget over event.target when you don't care/know the difference.

@bbenezech

Copy link
Copy Markdown
Contributor

@vvakame PR created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants