dist/ZeroClipboard.js
function(options) {
    if (typeof options === "object" && options && !("length" in options)) {
      _keys(options).forEach(function(prop) {
        if (/^(?:forceHandCursor|title|zIndex|bubbleEvents|fixLineEndings)$/.test(prop)) {
          _globalConfig[prop] = options[prop];
        } else if (_flashState.bridge == null) {
          if (prop === "containerId" || prop === "swfObjectId") {
            if (_isValidHtml4Id(options[prop])) {
              _globalConfig[prop] = options[prop];
            } else {
              throw new Error("The specified `" + prop + "` value is not valid as an HTML4 Element ID");
            }
          } else {
            _globalConfig[prop] = options[prop];
          }
        }
      });
    }
    if (typeof options === "string" && options) {
      if (_hasOwn.call(_globalConfig, options)) {
        return _globalConfig[options];
      }
      return;
    }
    return _deepCopy(_globalConfig);
  }
function(options) {
    if (typeof options === "object" && options && !("length" in options)) {
      _keys(options).forEach(function(prop) {
        if (/^(?:forceHandCursor|title|zIndex|bubbleEvents|fixLineEndings)$/.test(prop)) {
          _globalConfig[prop] = options[prop];
        } else if (_flashState.bridge == null) {
          if (prop === "containerId" || prop === "swfObjectId") {
            if (_isValidHtml4Id(options[prop])) {
              _globalConfig[prop] = options[prop];
            } else {
              throw new Error("The specified `" + prop + "` value is not valid as an HTML4 Element ID");
            }
          } else {
            _globalConfig[prop] = options[prop];
          }
        }
      });
    }
    if (typeof options === "string" && options) {
      if (_hasOwn.call(_globalConfig, options)) {
        return _globalConfig[options];
      }
      return;
    }
    return _deepCopy(_globalConfig);
  }
function ( options ) { if ( typeof options === "object" && options && ! ( "length" in options ) ) { _keys ( options ) . forEach ( function ( prop ) { if ( / ^(?:forceHandCursor|title|zIndex|bubbleEvents|fixLineEndings)$ / . test ( prop ) ) { _globalConfig [ prop ] = options [ prop ] ; } else if ( _flashState . bridge == null ) { if ( prop === "containerId" || prop === "swfObjectId" ) { if ( _isValidHtml4Id ( options [ prop ] ) ) { _globalConfig [ prop ] = options [ prop ] ; } else { throw new Error ( "The specified `" + prop + "` value is not valid as an HTML4 Element ID" ) ; } } else { _globalConfig [ prop ] = options [ prop ] ; } } } ) ; } if ( typeof options === "string" && options ) { if ( _hasOwn . call ( _globalConfig , options ) ) { return _globalConfig [ options ] ; } return ; } return _deepCopy ( _globalConfig ) ; }
The underlying implementation of `ZeroClipboard.config`.
@private
The underlying implementation of ZeroClipboard . config .