lib/event-list.js
function (eventId) {
      var i;
      for (i = 0; i < this._events.length; i++) {
         var evt = this._events[i];
         if (evt.eventId === eventId) {
            return evt;
         }
      }
      return false;
   }
function (eventId) {
      var i;
      for (i = 0; i < this._events.length; i++) {
         var evt = this._events[i];
         if (evt.eventId === eventId) {
            return evt;
         }
      }
      return false;
   }
function ( eventId ) { var i ; for ( i = 0 ; i < this . _events . length ; i ++ ) { var evt = this . _events [ i ] ; if ( evt . eventId === eventId ) { return evt ; } } return false ; }
Return the activityId
@param {Integer} eventId
@returns {Object} evt - The event if found, false otherwise
Return the activityId