Bug Tracker

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#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

Change History (6)

comment:1 Changed 6 years ago by Rick Waldron

Owner: set to Rick Waldron
Status: newassigned

comment:2 Changed 6 years ago by Rick Waldron

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

comment:3 Changed 6 years ago by Rick Waldron

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

comment:4 Changed 6 years ago by Rick Waldron

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

comment:5 Changed 6 years ago by Rick Waldron

Resolution: fixed
Status: assignedclosed

comment:6 Changed 6 years ago by dmethvin

Milestone: 1.next1.6.3
Note: See TracTickets for help on using tickets.