src/event.js
function getEvent(context, eventName) {
  if (!eventsMap.has(context)) {
    eventsMap.set(context, {});
  }
  const events = eventsMap.get(context);
  if (!events[eventName]) {
    events[eventName] = {
      listeners: [],
      meta: new WeakMap()
    };
  }
  return events[eventName];
}
function getEvent(context, eventName) {
  if (!eventsMap.has(context)) {
    eventsMap.set(context, {});
  }
  const events = eventsMap.get(context);
  if (!events[eventName]) {
    events[eventName] = {
      listeners: [],
      meta: new WeakMap()
    };
  }
  return events[eventName];
}
function getEvent ( context , eventName ) { if ( ! eventsMap . has ( context ) ) { eventsMap . set ( context , { } ) ; } const events = eventsMap . get ( context ) ; if ( ! events [ eventName ] ) { events [ eventName ] = { listeners : [ ] , meta : new WeakMap ( ) } ; } return events [ eventName ] ; }
Returns event's listeners

@param {Object} context
@param {string} eventName
@returns {Object}
Returns event s listeners