Bug Tracker

Opened 16 years ago

Closed 15 years ago

Last modified 10 years ago

#1154 closed enhancement (fixed)

Gracefully ignore non-elements

Reported by: john Owned by:
Priority: minor Milestone: 1.2.2
Component: core Version: 1.2.1
Keywords: Cc:
Blocked by: Blocking:


A good deal of functionality would be possible (e.g. .childNodes()) and less bugs would occur if jQuery gracefully ignored non-elements. This would mean that any function accessing a node, would have to verify that it is, in fact, an element first.

Change History (2)

comment:1 Changed 15 years ago by john

Resolution: duplicate
Status: newclosed

comment:2 Changed 10 years ago by Rick Waldron

Resolution: duplicatefixed

Adds test for jQuery.extend deep copy with array, followed by object. Refutes and Closes #1154

Changeset: ed0e2d1e8a5005a80d0dd127dc4019f696471ad6

Note: See TracTickets for help on using tickets.