Available, as in the "scope" argument is being retrofitted to an existing function, and ONLY to that function.
I don't get what you are talking about a fn.bind() implementation in > jQuery, or what you mean by available in just one function though. > Read ES5. function.prototype.bind() On Mon, Dec 28, 2009 at 7:43 PM, Daniel Friesen <nadir.seen.f...@gmail.com>wrote: > I made a post about how confusing people may find the name bind some > time ago. Suggested renaming bind to something like event, and keeping > bind as an alias of course. That was rejected. > > I don't get what you are talking about a fn.bind() implementation in > jQuery, or what you mean by available in just one function though. > > ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name] > > Rick Waldron wrote: > > John, > > > > While I'm glad to see a scope arg available, i still think this is > > negligent to the future of jQuery and ES standards. I really think a > > fn.bind() implementation would ideal (since it would be jQuery-wide > > and not just available in one function), but as I've noted in the past > > and is exampled here, beginners may find this syntax a bit boggling: > > > > $(foo).bind('event', fn.bind(bar) ); > > > > Rick > > -- > > You received this message because you are subscribed to the Google Groups > "jQuery Development" group. > To post to this group, send email to jquery-...@googlegroups.com. > To unsubscribe from this group, send email to > jquery-dev+unsubscr...@googlegroups.com<jquery-dev%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/jquery-dev?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-...@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.