_interval
- private object
poll handle
ADJ_SCOPE
- static final int
Adjusted scope, either the element we are registering the event
on or the custom object passed in by the listener, int constant
counter
- private static object
Counter for auto id generation
EL
- static final int
Element to bind, int constant
elCache
DOM element cache
- private static object
FN
- static final int
Function to execute, int constant
isIE
- private static object
IE detection needed to properly calculate pageX and pageY.
capabilities checking didn't seem to work because another
browser that does not provide the properties have the values
calculated in a different manner than IE.
isSafari
- private static object
Safari detection is necessary to work around the preventDefault
bug that makes it so you can't cancel a href click from the
handler. There is not a capabilities check we can use here.
legacyEvents
- private static object
Cache of DOM0 event handlers to work around issues with DOM2 events
in Safari
legacyHandlers
- private static object
Listener stack for DOM0 events
legacyMap
- private static object
Lookup table for legacy events
listeners
- private static array
Cache of wrapped listeners
loadComplete
- private static boolean
True after the onload event has fired
OBJ
- static final int
Object passed in by the user that will be returned as a
parameter to the callback, int constant
onAvailStack
- private static object
onAvailable listeners
POLL_INTERVAL
- static final int
The poll interval in milliseconds
POLL_RETRYS
- static final int
The number of times we should look for elements that are not
in the DOM at the time the event is requested after the document
has been loaded. The default is 200@amp;50 ms, so it will poll
for 10 seconds or until all outstanding handlers are bound
(whichever comes first).
retryCount
- private static object
The number of times to poll after window.onload. This number is
increased if additional late-bound handlers are requested after
the page load.
TYPE
- static final int
Type of event, int constant
unloadListeners
- private static array
User-defined unload function that will be fired before all events
are detached
WFN
- static final int
Function wrapped for scope correction and cleanup, int constant