index.js
function dispatchEvent(event, handlers) {
    for (var i = (handlers.length - 1); i >= 0; i--) {
        if (event.isPropagationStopped()) {
            break;
        }
        var returnValue = handlers[i](event);
        if (returnValue === false) {
            event.stopPropagation();
            event.preventDefault();
        }
    }
}
function dispatchEvent(event, handlers) {
    for (var i = (handlers.length - 1); i >= 0; i--) {
        if (event.isPropagationStopped()) {
            break;
        }
        var returnValue = handlers[i](event);
        if (returnValue === false) {
            event.stopPropagation();
            event.preventDefault();
        }
    }
}
function dispatchEvent ( event , handlers ) { for ( var i = ( handlers . length - 1 ) ; i >= 0 ; i -- ) { if ( event . isPropagationStopped ( ) ) { break ; } var returnValue = handlers [ i ] ( event ) ; if ( returnValue === false ) { event . stopPropagation ( ) ; event . preventDefault ( ) ; } } }
Dispatch the event, in order, to all interested listeners The most recently mounted component is the first to receive the event Cribbed from a combination of SimpleEventPlugin and EventPluginUtils
Dispatch the event in order to all interested listeners The most recently mounted component is the first to receive the event Cribbed from a combination of SimpleEventPlugin and EventPluginUtils