Skip to main content

Bug Tracker

Side navigation

#9918 closed bug (duplicate)

Opened July 27, 2011 10:05AM UTC

Closed July 27, 2011 02:32PM UTC

Last modified July 27, 2011 02:32PM UTC

if $.data fails if the data has value 0

Reported by: anonymous Owned by:
Priority: low Milestone: None
Component: data Version: 1.6.2
Keywords: Cc:
Blocked by: Blocking:
Description

Assume thisCache[ jQuery.camelCase( name ) ] returns 0

then the case thisCache[ name ] is evaluated.

This is a problem if 0 should be retrieved.

line 1516

thisCache[ jQuery.camelCase( name ) ] || thisCache[ name ] :

thisCache;

Attachments (0)
Change History (5)

Changed July 27, 2011 11:40AM UTC by addyosmani comment:1

component: unfileddata
priority: undecidedlow
resolution: → duplicate
status: newclosed

Changed July 27, 2011 11:40AM UTC by addyosmani comment:2

Duplicate of #9917.

Changed July 27, 2011 02:32PM UTC by rwaldron comment:3

resolution: duplicate
status: closedreopened

Changed July 27, 2011 02:32PM UTC by rwaldron comment:4

resolution: → duplicate
status: reopenedclosed

Changed July 27, 2011 02:32PM UTC by rwaldron comment:5

Duplicate of #9779.