event-facade-dom-ie.js revision 466fc0d571f1df5f7b889a59f328ffcdcef0d87f
99030181384118f852c69f20f3b931bf796ec8faMatt Sweeney * Custom event engine, DOM event listener abstraction layer, synthetic DOM
99030181384118f852c69f20f3b931bf796ec8faMatt Sweeney * @module event
99030181384118f852c69f20f3b931bf796ec8faMatt Sweeney * @submodule event-base
function IEEventFacade() {
function IELazyFacade(e) {
return proxy;
buttonMap = {
relatedTargetMap = {
proto = {
init: function() {
var e = this._event,
x, y, d, b, de, t;
x = e.clientX;
y = e.clientY;
b = d.body;
this.pageX = x;
this.pageY = y;
t = e.toElement;
t = e.fromElement;
if (e.button) {
stopPropagation: function() {
stopImmediatePropagation: function() {
this.stopPropagation();
var e = this._event,
prop;
if (this._touch) {
charCode: function () {
var e = this._event;
button: function () {
var e = this._event;
return (e.button) ?
target: function () {
relatedTarget: function () {
var e = this._event,
currentTarget: function () {
wheelDelta: function () {
var e = this._event;
return (e.detail) ?
pageX: function () {
var e = this._event,
return val;
pageY: function () {
var e = this._event,
return val;
function val(v) {
delete o[prop];
configurable: true,
writable: true
return ret;
configurable: true
if (useLazyFacade) {
useLazyFacade = false;