You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prototype & script.aculo.us
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
Victor
unread,
Oct 27, 2011, 4:47:50 PM10/27/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to prototype-s...@googlegroups.com
I've seen on github that event system is reworked, but this is still work in progress. You can download bleeding-edge version and test for yourself.