lib/utils.js
function defaultCommonOptions(opts) {
  opts = normalizeKeys(opts);
  var defaults;

  constants.DEFAULT_OPTIONS.forEach(function(key) {
    if (!opts.hasOwnProperty(key)) return;
    if (!defaults) defaults = {};
    defaults[key] = opts[key];
  });

  return defaults;
}
function defaultCommonOptions(opts) {
  opts = normalizeKeys(opts);
  var defaults;

  constants.DEFAULT_OPTIONS.forEach(function(key) {
    if (!opts.hasOwnProperty(key)) return;
    if (!defaults) defaults = {};
    defaults[key] = opts[key];
  });

  return defaults;
}
function defaultCommonOptions ( opts ) { opts = normalizeKeys ( opts ) ; var defaults ; constants . DEFAULT_OPTIONS . forEach ( function ( key ) { if ( ! opts . hasOwnProperty ( key ) ) return ; if ( ! defaults ) defaults = { } ; defaults [ key ] = opts [ key ] ; } ) ; return defaults ; }
Default common options
Default common options