event-base-ie.js revision 8cabf3118c2686987619594938d05e4df90dc849
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignacif (docElement.doScroll && !GLOBAL_ENV._ieready) {
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac/*! DOMReady: based on work by: Dean Edwards/John Resig/Matthias Miller/Diego Perini */
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac// Internet Explorer: use the doScroll() method on the root element.
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac// This isolates what appears to be a safe moment to manipulate the
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac// DOM prior to when the document's readyState suggests it is safe to do so.
3ec8ffa3cd3bf9f3ed0d3f3ddb73b28a99b79f62neil_a_wilson GLOBAL_ENV.remove(doc, EVENT_NAME, stateChangeListener);
3ec8ffa3cd3bf9f3ed0d3f3ddb73b28a99b79f62neil_a_wilson GLOBAL_ENV.add(doc, EVENT_NAME, stateChangeListener);
} catch (domNotReady) { }
}, pollInterval);
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;
stopPropagation: function() {
stopImmediatePropagation: function() {
this.stopPropagation();
var e = this._event,
prop;
if (this._touch) {
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;