lib/index.js
function defaults(options) {
  options || (options = {});
  options.apiKey || (options.apiKey = 'YOUR_API_KEY');
  options.host || (options.host = 'cdn.segment.com');
  if (!has.call(options, 'page')) options.page = true;
  if (!has.call(options, 'load')) options.load = true;
  return options;
}
function defaults(options) {
  options || (options = {});
  options.apiKey || (options.apiKey = 'YOUR_API_KEY');
  options.host || (options.host = 'cdn.segment.com');
  if (!has.call(options, 'page')) options.page = true;
  if (!has.call(options, 'load')) options.load = true;
  return options;
}
function defaults ( options ) { options || ( options = { } ) ; options . apiKey || ( options . apiKey = 'YOUR_API_KEY' ) ; options . host || ( options . host = 'cdn.segment.com' ) ; if ( ! has . call ( options , 'page' ) ) options . page = true ; if ( ! has . call ( options , 'load' ) ) options . load = true ; return options ; }
Back an options object with the snippet defaults.

@param {Object} options (optional)
@return {Object}
Back an options object with the snippet defaults .