Opened 10 years ago
Last modified 10 years ago
#9301 closed bug
Setting data() via an object with hyphenated keys create inaccessible data. — at Version 12
Reported by: | mdawaffe | Owned by: | Rick Waldron |
---|---|---|---|
Priority: | blocker | Milestone: | 1.6.2 |
Component: | core | Version: | 1.6.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description (last modified by )
If an element's data is set via an object with a hyphenated key, that key becomes inaccessible.
Test case: http://jsfiddle.net/V8y7X/
Related and caused by: #9124
Change History (12)
comment:1 Changed 10 years ago by
Component: | unfiled → core |
---|---|
Owner: | set to Rick Waldron |
Priority: | undecided → blocker |
Status: | new → assigned |
comment:2 Changed 10 years ago by
comment:4 Changed 10 years ago by
Description: | modified (diff) |
---|
+1, Seems like a bug, should be fixed
comment:7 Changed 10 years ago by
Description: | modified (diff) |
---|
+1, OK, so I guess the solution is to take two stabs into the data object, one camelCase
and the second camel-case
?
comment:8 Changed 10 years ago by
Description: | modified (diff) |
---|
+1, Seems like we should get this in 1.6.2.
comment:9 Changed 10 years ago by
Description: | modified (diff) |
---|
comment:12 Changed 10 years ago by
Description: | modified (diff) |
---|---|
Milestone: | 1.next → 1.6.2 |
Note: See
TracTickets for help on using
tickets.
Further reduction: http://jsfiddle.net/rwaldron/Azjar/