D
David Mark
When you look further, you will observe that there are instances where itis
not possible to tell apart a proprietary event-handler property that has
never been assigned a value explicitly from a proprietary event-handler
property that is unsupported. Not even the strict comparison (which you
have backwards here) changes that.
As a result, I have removed all feature tests to that end from
dhtml.*EventListener() as they would produce false negatives.
He's using shorthand there. See here:
http://thinkweb2.com/projects/prototype/detecting-event-support-without-browser-sniffing/
That works. See my comment at the bottom.