Skip to main content

Bug Tracker

Side navigation

#9794 closed bug (fixed)

Opened July 10, 2011 09:16PM UTC

Closed August 05, 2011 01:22PM UTC

Last modified August 26, 2011 02:31AM UTC

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:
Blocked by: Blocking:
Description
Attachments (0)
Change History (6)

Changed July 11, 2011 01:49AM UTC by rwaldron comment:1

owner: → rwaldron
status: newassigned

Changed July 11, 2011 01:51AM UTC by rwaldron comment:2

component: unfileddata
priority: undecidedhigh

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

Changed July 11, 2011 04:51AM UTC by rwaldron comment:3

summary: jQuery.fn.data() keys with hyphens should be accessiblejQuery.fn.data() handle access to arbitrary data property values

Changed July 11, 2011 04:51AM UTC by rwaldron comment:4

summary: jQuery.fn.data() handle access to arbitrary data property valuesjQuery.fn.data() correctly handle access to arbitrary data property values

Changed August 05, 2011 01:22PM UTC by rwaldron comment:5

resolution: → fixed
status: assignedclosed

Changed August 26, 2011 02:31AM UTC by dmethvin comment:6

milestone: 1.next1.6.3