lib/events.js
function trigger (state, eventName) {
  var args = [].slice.call(arguments, 1)

  state.emitter.emit.apply(state.emitter, args)

  return this
}
function trigger (state, eventName) {
  var args = [].slice.call(arguments, 1)

  state.emitter.emit.apply(state.emitter, args)

  return this
}
function trigger ( state , eventName ) { var args = [ ] . slice . call ( arguments , 1 ) state . emitter . emit . apply ( state . emitter , args ) return this }
trigger a specified event

@param  {String} eventName    Name of event
@param  {...*} [options]      Options
trigger a specified event