lib/pusher-redux.js
function (options) {
  var result = {
    type: options.actionType
  };
  if (options.channelName) {
    result.channel = options.channelName
  }
  if (options.eventName) {
    result.event = options.eventName
  }
  if (options.data) {
    result.data = options.data
  }
  if (options.additionalParams) {
    result.additionalParams = options.additionalParams
  }
  return result;
}
function (options) {
  var result = {
    type: options.actionType
  };
  if (options.channelName) {
    result.channel = options.channelName
  }
  if (options.eventName) {
    result.event = options.eventName
  }
  if (options.data) {
    result.data = options.data
  }
  if (options.additionalParams) {
    result.additionalParams = options.additionalParams
  }
  return result;
}
function ( options ) { var result = { type : options . actionType } ; if ( options . channelName ) { result . channel = options . channelName } if ( options . eventName ) { result . event = options . eventName } if ( options . data ) { result . data = options . data } if ( options . additionalParams ) { result . additionalParams = options . additionalParams } return result ; }
create redux action
create redux action