/*!
 * Exports
 */

module.exports = emitter

/**
 * Initialize `emitter`.
 *
 * @return {Function.<Object>}
 */

function emitter() {
  const events = {}

  /**
   * Add `event`.
   *
   * @param {String} event
   * @param {Function} callback
   * @return {void}
   */

  function on(event, callback) {
    if (!events[event]) events[event] = []
    events[event].push(callback)
  }

  /**
   * Trigger `event` and pass `...data`.
   *
   * @param {String} event
   * @param {Mixed} ...data
   * @return {void}
   */

  function emit(event, ...data) {
    const callbacks = events[event]
    callbacks.forEach((callback) => {
      callback.apply(callback, data)
    })
  }

  emit._events = events
  emit.on = on
  emit.emit = emit

  return emit
}

@@ -164,18 +164,49 @@
   * 
-Add %60event
+Register %60event%60 with the given %60callback
 %60.%0A 
@@ -445,16 +445,20 @@
 nd pass 
+the 
 %60...data

Make comment more descriptive