function callHandlers(cults, e) {
    var broken = false;

    for (var i = 0; i < cults.length; i++) {
        var cult = cults[i];
        var handlers = cult && cult.events && cult.events[e.type];

        if (!handlers) continue;

        var selectors = Object.keys(handlers);

        if (callHandler(cult, e, handlers, selectors) === false) {
            broken = true;
            break;
        }
    }

    return broken;
}
function callHandlers(cults, e) {
    var broken = false;

    for (var i = 0; i < cults.length; i++) {
        var cult = cults[i];
        var handlers = cult && cult.events && cult.events[e.type];

        if (!handlers) continue;

        var selectors = Object.keys(handlers);

        if (callHandler(cult, e, handlers, selectors) === false) {
            broken = true;
            break;
        }
    }

    return broken;
}
function callHandlers ( cults , e ) { var broken = false ; for ( var i = 0 ; i < cults . length ; i ++ ) { var cult = cults [ i ] ; var handlers = cult && cult . events && cult . events [ e . type ] ; if ( ! handlers ) continue ; var selectors = Object . keys ( handlers ) ; if ( callHandler ( cult , e , handlers , selectors ) === false ) { broken = true ; break ; } } return broken ; }
Given a list of cultsRegistry, checks whether any component would respond to the given event and if so, executes the
event handler defined in the component.
Given a list of cultsRegistry checks whether any component would respond to the given event and if so executes the event handler defined in the component .