`jQuery.Event( src )` cannot require `src.target` #3139
|
/cc @arschmitz |
|
@dmethvin ah thanks yeah i was having trouble figuring out exactly where this error was coming from |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you construct a
jQuery.Event( src )using something that hassrc.type, the 3.0 code will die if there is not ansrc.targetproperty. jQuery Mobile uses a pattern where they construct an object and then set properties liketargetafterwards, which was allowed by 1.x/2.x, so we need to fix this as a regression.