dist/ZeroClipboard.js
function(format, data) {
    var dataObj;
    if (typeof format === "object" && format && typeof data === "undefined") {
      dataObj = format;
      ZeroClipboard.clearData();
    } else if (typeof format === "string" && format) {
      dataObj = {};
      dataObj[format] = data;
    } else {
      return;
    }
    for (var dataFormat in dataObj) {
      if (typeof dataFormat === "string" && dataFormat && _hasOwn.call(dataObj, dataFormat) && typeof dataObj[dataFormat] === "string" && dataObj[dataFormat]) {
        _clipData[dataFormat] = _fixLineEndings(dataObj[dataFormat]);
      }
    }
  }
function(format, data) {
    var dataObj;
    if (typeof format === "object" && format && typeof data === "undefined") {
      dataObj = format;
      ZeroClipboard.clearData();
    } else if (typeof format === "string" && format) {
      dataObj = {};
      dataObj[format] = data;
    } else {
      return;
    }
    for (var dataFormat in dataObj) {
      if (typeof dataFormat === "string" && dataFormat && _hasOwn.call(dataObj, dataFormat) && typeof dataObj[dataFormat] === "string" && dataObj[dataFormat]) {
        _clipData[dataFormat] = _fixLineEndings(dataObj[dataFormat]);
      }
    }
  }
function ( format , data ) { var dataObj ; if ( typeof format === "object" && format && typeof data === "undefined" ) { dataObj = format ; ZeroClipboard . clearData ( ) ; } else if ( typeof format === "string" && format ) { dataObj = { } ; dataObj [ format ] = data ; } else { return ; } for ( var dataFormat in dataObj ) { if ( typeof dataFormat === "string" && dataFormat && _hasOwn . call ( dataObj , dataFormat ) && typeof dataObj [ dataFormat ] === "string" && dataObj [ dataFormat ] ) { _clipData [ dataFormat ] = _fixLineEndings ( dataObj [ dataFormat ] ) ; } } }
The underlying implementation of `ZeroClipboard.setData`.
@private
The underlying implementation of ZeroClipboard . setData .