Bug Tracker

Opened 9 years ago

Closed 9 years ago

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

Description

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

Change History (3)

comment:1 Changed 9 years ago by scott.gonzal

This behavior was introduced in [2783].

comment:2 Changed 9 years ago by scott.gonzal

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [5385].

comment:3 Changed 3 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.