Skip to main content

Bug Tracker

Side navigation

#1154 closed enhancement (fixed)

Opened May 01, 2007 07:57PM UTC

Closed December 11, 2007 05:13PM UTC

Last modified February 03, 2013 05:52PM UTC

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.

Attachments (0)
Change History (2)

Changed December 11, 2007 05:13PM UTC by john comment:1

resolution: → duplicate
status: newclosed

Changed February 03, 2013 05:52PM UTC by Rick Waldron comment:2

resolution: duplicatefixed

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

Changeset: ed0e2d1e8a5005a80d0dd127dc4019f696471ad6