Bug Tracker

Opened 9 years ago

Closed 9 years ago

Last modified 3 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:

Description

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 9 years ago by john

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

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.