dist/ZeroClipboard.js
function(elements) {
    var meta = _clientMeta[this.id];
    if (!meta) {
      return this;
    }
    var clippedElements = meta.elements;
    var arrayIndex;
    if (typeof elements === "undefined") {
      elements = clippedElements.slice(0);
    } else {
      elements = _prepClip(elements);
    }
    for (var i = elements.length; i--; ) {
      if (_hasOwn.call(elements, i) && elements[i] && elements[i].nodeType === 1) {
        arrayIndex = 0;
        while ((arrayIndex = clippedElements.indexOf(elements[i], arrayIndex)) !== -1) {
          clippedElements.splice(arrayIndex, 1);
        }
        var clientIds = _elementMeta[elements[i].zcClippingId];
        if (clientIds) {
          arrayIndex = 0;
          while ((arrayIndex = clientIds.indexOf(this.id, arrayIndex)) !== -1) {
            clientIds.splice(arrayIndex, 1);
          }
          if (clientIds.length === 0) {
            if (_globalConfig.autoActivate === true) {
              _removeMouseHandlers(elements[i]);
            }
            delete elements[i].zcClippingId;
          }
        }
      }
    }
    return this;
  }
function(elements) {
    var meta = _clientMeta[this.id];
    if (!meta) {
      return this;
    }
    var clippedElements = meta.elements;
    var arrayIndex;
    if (typeof elements === "undefined") {
      elements = clippedElements.slice(0);
    } else {
      elements = _prepClip(elements);
    }
    for (var i = elements.length; i--; ) {
      if (_hasOwn.call(elements, i) && elements[i] && elements[i].nodeType === 1) {
        arrayIndex = 0;
        while ((arrayIndex = clippedElements.indexOf(elements[i], arrayIndex)) !== -1) {
          clippedElements.splice(arrayIndex, 1);
        }
        var clientIds = _elementMeta[elements[i].zcClippingId];
        if (clientIds) {
          arrayIndex = 0;
          while ((arrayIndex = clientIds.indexOf(this.id, arrayIndex)) !== -1) {
            clientIds.splice(arrayIndex, 1);
          }
          if (clientIds.length === 0) {
            if (_globalConfig.autoActivate === true) {
              _removeMouseHandlers(elements[i]);
            }
            delete elements[i].zcClippingId;
          }
        }
      }
    }
    return this;
  }
function ( elements ) { var meta = _clientMeta [ this . id ] ; if ( ! meta ) { return this ; } var clippedElements = meta . elements ; var arrayIndex ; if ( typeof elements === "undefined" ) { elements = clippedElements . slice ( 0 ) ; } else { elements = _prepClip ( elements ) ; } for ( var i = elements . length ; i -- ; ) { if ( _hasOwn . call ( elements , i ) && elements [ i ] && elements [ i ] . nodeType === 1 ) { arrayIndex = 0 ; while ( ( arrayIndex = clippedElements . indexOf ( elements [ i ] , arrayIndex ) ) !== - 1 ) { clippedElements . splice ( arrayIndex , 1 ) ; } var clientIds = _elementMeta [ elements [ i ] . zcClippingId ] ; if ( clientIds ) { arrayIndex = 0 ; while ( ( arrayIndex = clientIds . indexOf ( this . id , arrayIndex ) ) !== - 1 ) { clientIds . splice ( arrayIndex , 1 ) ; } if ( clientIds . length === 0 ) { if ( _globalConfig . autoActivate === true ) { _removeMouseHandlers ( elements [ i ] ) ; } delete elements [ i ] . zcClippingId ; } } } } return this ; }
The underlying implementation of `ZeroClipboard.Client.prototype.unclip`.
@private
The underlying implementation of ZeroClipboard . Client . prototype . unclip .