_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
DOMReady
- private static boolean
True when the document is initially usable
EL
- static final int
Element to bind, int constant
elCache
DOM element cache
- private static object
Deprecated: Elements are not cached any longer
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. Since this function has been used outside of this
utility, it was changed to detect all KHTML browser to be more
friendly towards the non-Safari browsers that share the engine.
Internally, the preventDefault bug detection now uses the
webkit property.
Deprecated:
lastError
- Error
addListener/removeListener can throw errors in unexpected scenarios.
These errors are suppressed, the method returns false, and this property
is set
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
webkit
- static string
If WebKit is detected, we keep track of the version number of
the engine. The webkit property will contain a string with
the webkit version number if webkit is detected, null
otherwise.
Safari 1.3.2 (312.6): 312.8.1 <-- currently the latest
available on Mac OSX 10.3.
Safari 2.0.2: 416 <-- hasOwnProperty introduced
Safari 2.0.4: 418 <-- preventDefault fixed (I believe)
Safari 2.0.4 (419.3): 418.9.1 <-- current release
http://developer.apple.com/internet/safari/uamatrix.html
WFN
- static final int
Function wrapped for scope correction and cleanup, int constant