Indentation for eventHandlerName

This commit is contained in:
Charles Marsh
2014-08-21 09:13:07 +08:00
parent 0ecc7e5a7f
commit f01246d6bb
@@ -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