1)
Since IE9 IE has addEventListener - so it has to listen events in
standart W3C way -> so it has capture events
I use capturing very often - so I forced, instead using on or observe,
use addEventListener

2)
In the library's code there are planty tones of check - 'if
(element.addEventListener)'
I believe that they could be replaced by somthing like this:

if (element.addEventListener)
   eventListenerFn = 'addEventListener'
else
   eventListenerFn = 'attachEvent'

and than everywhere use - element[eventListenerFn] or somthing else

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to