#9794 closed bug (fixed)
jQuery.fn.data() correctly handle access to arbitrary data property values
Reported by: | Rick Waldron | Owned by: | Rick Waldron |
---|---|---|---|
Priority: | high | Milestone: | 1.6.3 |
Component: | data | Version: | 1.6.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
http://jsfiddle.net/rwaldron/Xmqnf/2/
I'll add more later
Change History (6)
comment:1 Changed 12 years ago by
Owner: | set to Rick Waldron |
---|---|
Status: | new → assigned |
comment:2 Changed 12 years ago by
Component: | unfiled → data |
---|---|
Priority: | undecided → high |
comment:3 Changed 12 years ago by
Summary: | jQuery.fn.data() keys with hyphens should be accessible → jQuery.fn.data() handle access to arbitrary data property values |
---|
comment:4 Changed 12 years ago by
Summary: | jQuery.fn.data() handle access to arbitrary data property values → jQuery.fn.data() correctly handle access to arbitrary data property values |
---|
comment:5 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:6 Changed 12 years ago by
Milestone: | 1.next → 1.6.3 |
---|
Note: See
TracTickets for help on using
tickets.
The issue was basically in the way i was previously evaluating the existence of camel cased properties
Fixed. Adds 18 tests for handling access to arbitrary data property values with hyphenated and camel cased property names
https://github.com/jquery/jquery/pull/432