mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Indentation for eventHandlerName
This commit is contained in:
@@ -312,8 +312,9 @@ var SimpleEventPlugin = {
|
||||
var returnValue = EventPluginUtils.executeDispatch(event, listener, domID);
|
||||
if (__DEV__) {
|
||||
if (typeof returnValue === 'boolean') {
|
||||
var eventHandlerName = (listener.__reactBoundContext &&
|
||||
listener.__reactBoundContext.constructor.displayName) ||
|
||||
var eventHandlerName =
|
||||
(listener.__reactBoundContext &&
|
||||
listener.__reactBoundContext.constructor.displayName) ||
|
||||
'<<anonymous>>';
|
||||
monitorCodeUse('react_event_return_false', {
|
||||
eventHandlerName: eventHandlerName
|
||||
|
||||
Reference in New Issue
Block a user