taquet.js
/**
   * Helper method which iterates through the eventTree object,
   * then triggers the associated event with the appropriate scope.
   * @param eventTree Array containing the node with a
   * @param event Array containing the event name, BubbleEvent object and extra parameters
   * @private
   */
Helper method which iterates through the eventTree object,
then triggers the associated event with the appropriate scope.
@param eventTree Array containing the node with a
@param event Array containing the event name, BubbleEvent object and extra parameters
@private
Helper method which iterates through the eventTree object then triggers the associated event with the appropriate scope . @param eventTree Array containing the node with a @param event Array containing the event name BubbleEvent object and extra parameters @private
function _eventIterator(eventTree, event) {
    var src;
    try {
      if(event[1]._stopPropagation) {
        return;
      }
    } catch(e) {
      throw new Error("the event parameter is malformed");
    }
    src = eventTree.shift();
    if(src) {
      src.trigger.apply(src, event);
    }
    if(!!eventTree[0]) {
      _.defer(_eventIterator, eventTree, event);
    }
  }
function _eventIterator ( eventTree , event ) { var src ; try { if ( event [ 1 ] . _stopPropagation ) { return ; } } catch ( e ) { throw new Error ( "the event parameter is malformed" ) ; } src = eventTree . shift ( ) ; if ( src ) { src . trigger . apply ( src , event ) ; } if ( ! ! eventTree [ 0 ] ) { _ . defer ( _eventIterator , eventTree , event ) ; } }
Helper method which iterates through the eventTree object,
 then triggers the associated event with the appropriate scope.
Helper method which iterates through the eventTree object then triggers the associated event with the appropriate scope .