dist/ZeroClipboard.js
function(val) {
    if (/^(?:auto|inherit)$/.test(val)) {
      return val;
    }
    var zIndex;
    if (typeof val === "number" && !_isNaN(val)) {
      zIndex = val;
    } else if (typeof val === "string") {
      zIndex = _getSafeZIndex(_parseInt(val, 10));
    }
    return typeof zIndex === "number" ? zIndex : "auto";
  }
function(val) {
    if (/^(?:auto|inherit)$/.test(val)) {
      return val;
    }
    var zIndex;
    if (typeof val === "number" && !_isNaN(val)) {
      zIndex = val;
    } else if (typeof val === "string") {
      zIndex = _getSafeZIndex(_parseInt(val, 10));
    }
    return typeof zIndex === "number" ? zIndex : "auto";
  }
function ( val ) { if ( / ^(?:auto|inherit)$ / . test ( val ) ) { return val ; } var zIndex ; if ( typeof val === "number" && ! _isNaN ( val ) ) { zIndex = val ; } else if ( typeof val === "string" ) { zIndex = _getSafeZIndex ( _parseInt ( val , 10 ) ) ; } return typeof zIndex === "number" ? zIndex : "auto" ; }
Get a safe value for `zIndex`

@returns an integer, or "auto"
@private
Get a safe value for zIndex