index.js
function createIeEvent(type, options) {
  options = clean(type, options);
  var e = document.createEventObject();
  e.altKey = options.alt;
  e.bubbles = options.bubbles;
  e.button = options.button;
  e.cancelable = options.cancelable;
  e.clientX = options.clientX;
  e.clientY = options.clientY;
  e.ctrlKey = options.ctrl;
  e.detail = options.detail;
  e.metaKey = options.meta;
  e.screenX = options.screenX;
  e.screenY = options.screenY;
  e.shiftKey = options.shift;
  e.keyCode = options.key;
  e.charCode = options.key;
  e.view = options.view;
  return e;
}
function createIeEvent(type, options) {
  options = clean(type, options);
  var e = document.createEventObject();
  e.altKey = options.alt;
  e.bubbles = options.bubbles;
  e.button = options.button;
  e.cancelable = options.cancelable;
  e.clientX = options.clientX;
  e.clientY = options.clientY;
  e.ctrlKey = options.ctrl;
  e.detail = options.detail;
  e.metaKey = options.meta;
  e.screenX = options.screenX;
  e.screenY = options.screenY;
  e.shiftKey = options.shift;
  e.keyCode = options.key;
  e.charCode = options.key;
  e.view = options.view;
  return e;
}
function createIeEvent ( type , options ) { options = clean ( type , options ) ; var e = document . createEventObject ( ) ; e . altKey = options . alt ; e . bubbles = options . bubbles ; e . button = options . button ; e . cancelable = options . cancelable ; e . clientX = options . clientX ; e . clientY = options . clientY ; e . ctrlKey = options . ctrl ; e . detail = options . detail ; e . metaKey = options . meta ; e . screenX = options . screenX ; e . screenY = options . screenY ; e . shiftKey = options . shift ; e . keyCode = options . key ; e . charCode = options . key ; e . view = options . view ; return e ; }
Create an IE event.

@param {String} type
@param {Object} options
Create an IE event .