dist/ZeroClipboard.js
function(event) {
    if (!(event && typeof event.type === "string" && event)) {
      return;
    }
    var e, target = event.target || null, doc = target && target.ownerDocument || _document, defaults = {
      view: doc.defaultView || _window,
      canBubble: true,
      cancelable: true,
      detail: event.type === "click" ? 1 : 0,
      button: typeof event.which === "number" ? event.which - 1 : typeof event.button === "number" ? event.button : doc.createEvent ? 0 : 1
    }, args = _extend(defaults, event);
    if (!target) {
      return;
    }
    if (doc.createEvent && target.dispatchEvent) {
      args = [ args.type, args.canBubble, args.cancelable, args.view, args.detail, args.screenX, args.screenY, args.clientX, args.clientY, args.ctrlKey, args.altKey, args.shiftKey, args.metaKey, args.button, args.relatedTarget ];
      e = doc.createEvent("MouseEvents");
      if (e.initMouseEvent) {
        e.initMouseEvent.apply(e, args);
        e._source = "js";
        target.dispatchEvent(e);
      }
    }
  }
function(event) {
    if (!(event && typeof event.type === "string" && event)) {
      return;
    }
    var e, target = event.target || null, doc = target && target.ownerDocument || _document, defaults = {
      view: doc.defaultView || _window,
      canBubble: true,
      cancelable: true,
      detail: event.type === "click" ? 1 : 0,
      button: typeof event.which === "number" ? event.which - 1 : typeof event.button === "number" ? event.button : doc.createEvent ? 0 : 1
    }, args = _extend(defaults, event);
    if (!target) {
      return;
    }
    if (doc.createEvent && target.dispatchEvent) {
      args = [ args.type, args.canBubble, args.cancelable, args.view, args.detail, args.screenX, args.screenY, args.clientX, args.clientY, args.ctrlKey, args.altKey, args.shiftKey, args.metaKey, args.button, args.relatedTarget ];
      e = doc.createEvent("MouseEvents");
      if (e.initMouseEvent) {
        e.initMouseEvent.apply(e, args);
        e._source = "js";
        target.dispatchEvent(e);
      }
    }
  }
function ( event ) { if ( ! ( event && typeof event . type === "string" && event ) ) { return ; } var e , target = event . target || null , doc = target && target . ownerDocument || _document , defaults = { view : doc . defaultView || _window , canBubble : true , cancelable : true , detail : event . type === "click" ? 1 : 0 , button : typeof event . which === "number" ? event . which - 1 : typeof event . button === "number" ? event . button : doc . createEvent ? 0 : 1 } , args = _extend ( defaults , event ) ; if ( ! target ) { return ; } if ( doc . createEvent && target . dispatchEvent ) { args = [ args . type , args . canBubble , args . cancelable , args . view , args . detail , args . screenX , args . screenY , args . clientX , args . clientY , args . ctrlKey , args . altKey , args . shiftKey , args . metaKey , args . button , args . relatedTarget ] ; e = doc . createEvent ( "MouseEvents" ) ; if ( e . initMouseEvent ) { e . initMouseEvent . apply ( e , args ) ; e . _source = "js" ; target . dispatchEvent ( e ) ; } } }
Dispatch a synthetic MouseEvent.

@returns `undefined`
@private
Dispatch a synthetic MouseEvent .