b402e20da315b3e86bd6e770942e07d182bcba1d |
|
04-May-2011 |
Luke Smith <lsmith@lucassmith.name> |
Use Event._attach to avoid creating unused facades
There is a runtime execution and memory cost associated
with creating event facades due to the pre-population of
e.target, currentTarget, and relatedTarget that can be
avoided in this case since it's filtering bubbled mouseover
and mouseout events.
Create the DOMEventFacade only after passing the filter
criteria. |