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: |
Description
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.
Note: See
TracTickets for help on using
tickets.
Fixed: http://github.com/jquery/jquery/commit/ef05f44cce870a8b78637b0a88b27087f7f13b37