Modify ↓
Ticket #9794 (closed bug: fixed)
jQuery.fn.data() correctly handle access to arbitrary data property values
| Reported by: | rwaldron | Owned by: | rwaldron |
|---|---|---|---|
| Priority: | high | Milestone: | 1.6.3 |
| Component: | data | Version: | 1.6.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
http://jsfiddle.net/rwaldron/Xmqnf/2/
I'll add more later
Change History
comment:1 Changed 23 months ago by rwaldron
- Owner set to rwaldron
- Status changed from new to assigned
comment:2 Changed 23 months ago by rwaldron
- Priority changed from undecided to high
- Component changed from unfiled to data
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
comment:3 Changed 23 months ago by rwaldron
- Summary changed from jQuery.fn.data() keys with hyphens should be accessible to jQuery.fn.data() handle access to arbitrary data property values
comment:4 Changed 23 months ago by rwaldron
- Summary changed from jQuery.fn.data() handle access to arbitrary data property values to jQuery.fn.data() correctly handle access to arbitrary data property values
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.
