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 committed Mar 9, 2016
1 parent f9a08b0 commit 181db5b
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 181db5b

Please sign in to comment.