Bug Tracker

Opened 14 years ago

Closed 13 years ago

Last modified 8 years ago

#2600 closed bug (fixed)

jQuery.extend() should not ignore properties with null values

Reported by: scottgonzalez Owned by:
Priority: major Milestone: 1.2.4
Component: core Version: 1.2.3
Keywords: Cc:
Blocked by: Blocking:


jQuery.extend() currently ignores properties with a value of null or undefined; only undefined should be ignored.

Change History (3)

comment:1 Changed 14 years ago by scott.gonzal

This behavior was introduced in [2783].

comment:2 Changed 13 years ago by scott.gonzal

Resolution: fixed
Status: newclosed

Fixed in [5385].

comment:3 Changed 8 years ago by tborychowski@…

Please update the documentation for "extend" to reflect that change. (I spent hours debugging that today, as I assumed that "null" values are ignored - as the documentation states!)

Note: See TracTickets for help on using tickets.