Skip to content

Events: originalEvent must not be an empty object #2300

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

Closed
gabrielschulhof opened this issue May 12, 2015 · 4 comments
Closed

Events: originalEvent must not be an empty object #2300

gabrielschulhof opened this issue May 12, 2015 · 4 comments
Assignees
Milestone

Comments

@gabrielschulhof
Copy link

Since a873558 we must make sure that all objects that are supposed to be events are events. Thus, code like originalEvent: {} must be replaced with originalEvent: new jQuery.Event()

@mgol mgol added this to the 3.0.0 milestone May 12, 2015
@mgol mgol added the Event label May 12, 2015
gabrielschulhof pushed a commit to gabrielschulhof/jquery that referenced this issue May 12, 2015
@timmywil
Copy link
Member

I took the liberty of assigning you, @markelog. :)

@markelog
Copy link
Member

@timmywil Sure thing,

Since a873558 we must make sure that all objects that are supposed to be events are events.

Why?

@timmywil
Copy link
Member

Because our simulated focus event doesn't have those methods.

@gabrielschulhof
Copy link
Author

@gibson042 mentioned that we may be able to get rid of the fake originalEvent altogether.

gabrielschulhof pushed a commit to gabrielschulhof/jquery that referenced this issue May 12, 2015
gabrielschulhof pushed a commit to gabrielschulhof/jquery that referenced this issue May 12, 2015
gabrielschulhof pushed a commit to gabrielschulhof/jquery that referenced this issue May 13, 2015
markelog pushed a commit to markelog/jquery that referenced this issue May 20, 2015
markelog added a commit to markelog/jquery that referenced this issue May 20, 2015
markelog added a commit to markelog/jquery that referenced this issue May 20, 2015
markelog added a commit to markelog/jquery that referenced this issue May 28, 2015
@dmethvin dmethvin modified the milestones: 1.12/2.2, 3.0.0 Jan 7, 2016
@lock lock bot locked as resolved and limited conversation to collaborators Jun 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging a pull request may close this issue.

5 participants