Bug Tracker

Opened 13 years ago

Closed 13 years ago

#5438 closed bug (fixed)

$.merge() discards comment nodes

Reported by: john Owned by:
Priority: major Milestone: 1.4
Component: core Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:


From here: http://groups.google.com/group/jquery-dev/browse_thread/thread/10b88050817c54b6

jQuery.merge() is the only function that discards comment nodes (?).

This means that

$( nodeList )

can contains comment nodes, but

$([]).add( nodeList )

can not.

Change History (1)

comment:1 Changed 13 years ago by john

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.