Bug Tracker

Ticket #1154 (closed enhancement: fixed)

Opened 8 years ago

Last modified 3 years ago

Gracefully ignore non-elements

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


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

comment:1 Changed 8 years ago by john

  • Status changed from new to closed
  • Version changed from 1.1.2 to 1.2.1
  • Resolution set to duplicate
  • Milestone changed from 1.1.3 to 1.2.2

comment:2 Changed 3 years ago by Rick Waldron

  • Resolution changed from duplicate to fixed

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.