> To re-iterate, Kangax, you _should_ be using .bindAsEventListener in your
> first case if you want to guarantee backwards X-browser support.
No. The only use case for bindAsEventListener other than partial
application is for inline event handlers in IE:
var myObj = {
doSomething: function(event) { /*...*/ }
};
<a href="#" onclick="myObj.doSomething.bindAsEventListener(myObj)"></
a>
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---