Bug Tracker

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#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:
Blocked by: Blocking:

Description

Change History (6)

comment:1 Changed 5 years ago by rwaldron

  • Owner set to rwaldron
  • Status changed from new to assigned

comment:2 Changed 5 years ago by rwaldron

  • Component changed from unfiled to data
  • Priority changed from undecided to high

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 5 years 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 5 years 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

comment:5 Changed 5 years ago by rwaldron

  • Resolution set to fixed
  • Status changed from assigned to closed

comment:6 Changed 5 years ago by dmethvin

  • Milestone changed from 1.next to 1.6.3
Note: See TracTickets for help on using tickets.