Skip to content

Commit

Permalink
Add a warning for adding properties into ResponderSyntheticEvent
Browse files Browse the repository at this point in the history
This is a additional work for facebook#5947.
  • Loading branch information
koba04 authored and Edvin Erikson committed Mar 10, 2016
1 parent a0fa29f commit b636a92
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ var ResponderEventInterface = {
* @extends {SyntheticEvent}
*/
function ResponderSyntheticEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {
SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);
return SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);
}

SyntheticEvent.augmentClass(ResponderSyntheticEvent, ResponderEventInterface);
Expand Down

0 comments on commit b636a92

Please sign in to comment.