http://github.com/jquery/jquery/blob/master/src/core.js#L49 http://github.com/jquery/jquery/blob/master/src/core.js#L571
-- Brandon Aaron On Mon, Dec 14, 2009 at 4:16 AM, caii <caimeic...@beyondsoft.com> wrote: > Array.prototype.indexOf? > where it in JQUERY? > > On Dec 14, 6:13 pm, Robert Katić <robert.ka...@gmail.com> wrote: >> Already fixed. If Array.prototype.indexOf exists, then it is always >> used. >> >> On Dec 14, 10:38 am, helianthus <project.heliant...@gmail.com> wrote: >> >> > This occurs when using jQuery.fn.index, which utilizes jQuery.inArray. >> > Since the jQuery object does not have an indexOf method, it falls back >> > to the for loop approach, while Array.prototype.indexOf could have >> > been used. > > -- > > 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.