I think you're right here - I'm not completely convinced that this distinction still needs to exist. Could you file a ticket? Thanks.
--John On Fri, Oct 30, 2009 at 7:47 AM, Robert Katić <[email protected]> wrote: > To be more accurate, > > $([]).add( nodeList ) > > can not contains comment nodes only on IE. > This makes it even more ambiguous, with unexpected results. > Also it seams that the only expected NodeList is from an > getElementsByTagName.call. > > I know that it is not explicitly supported by the API, but even then > it seams that there are some inconsistent logic. > > On Oct 30, 6:28 am, Robert Katić <[email protected]> wrote: >> jQuery.merge() is the only function that discards comment nodes (?). >> >> This means that >> >> $( nodeList ) >> >> can contains comment nodes, but >> >> $([]).add( nodeList ) >> >> can not. >> >> Why such different behaviors? >> Is the jQuery.makeArray() more appropriate to filter comment nodes? >> Am I missing something here? > > -- > > You received this message because you are subscribed to the Google Groups > "jQuery Development" 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/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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en.
