Well, attrFn (the proper casing) is so that the $("<div/>", { ... }) syntax will work. Plugins can snap in methods that they want to work in that style and they'll be available to the user. http://api.jquery.com/jQuery/#jQuery2
--John On Fri, Jan 15, 2010 at 5:47 PM, Rick Waldron <waldron.r...@gmail.com> wrote: > Whoops! That was definitely from rc1 > Thanks :) > > But seriously... what was it for? > > On Fri, Jan 15, 2010 at 5:41 PM, John Resig <jere...@gmail.com> wrote: >> >> Make sure you're using the latest version of jQuery (or even 1.4), >> that's already been fixed. >> >> --John >> >> >> >> On Fri, Jan 15, 2010 at 5:26 PM, Rick Waldron <waldron.r...@gmail.com> >> wrote: >> > I have searched high and low, but cant find another reference to >> > jQuery.fnAttr anywhere in jQuery... Nor can I find it by inspecting >> > jQuery... >> > in event.js: >> > >> > if ( jQuery.fnAttr ) { >> > jQuery.fnAttr[ name ] = true; >> > } >> > I'm just curious about it's existence really... >> > This is the best I can track down for it... >> > >> > http://github.com/jquery/jquery/commit/f25eedf32a7555f71a246c6f491292ce876c4133 >> > >> > 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. >> > 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. >> >> >> > > > -- > 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. > >
-- 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.