docs: function getEventObject(eventObjects, eventType, listener) {
          var i, numberOfEvents = eventObjects.length;
  
          for (i = 0; i < numberOfEvents; i += 1) {
              if (isValueEqualToValue(eventObjects[i].type, eventType) &&
                      isValueEqualToValue(eventObjects[i].callback, listener)) {
                  return eventObjects[i];
              }
          }
  
          return null;
      }