Renamed are best done by creating the new name and leaving the old  
name around for compatibility.

This isn't a "rename bind to something else and force everyone to  
change" it's a "give a new standard name for bind leaving the old name  
in place for old code so that new projects have a name they can use  
which isn't ambiguous with ES5's .bind()"

I kindof like .event()

On 17-Jul-09, at 9:19 AM, Gilles <gil...@netxtra.net> wrote:

>
> element.bind('click', someFunction, this); - This way allow backward
> compatibility.
>
> Your way, renaming the functions the most uses in plug-in, will mean
> an aweful lot of developers will have to go through their code and
> update it. And to be honest I don't see how anything else could
> describe better what the function already does.
>
>
> >

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@googlegroups.com
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to