-
Notifications
You must be signed in to change notification settings - Fork 20.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Separate camelCasing logic between Data & CSS #3355
Comments
This is a core method, if it requires changes in others places you don't really need other labels for this issue, I would argue that it would be more confusing and unconventional |
Also, did you create corresponding issues in docs and migrate repos? |
@markelog This issue is not only about hiding jQuery.camelCase but also about fixes in camelCase handling in the data module so IMO it makes sense to double-label. Maybe the Effects label is not needed here. |
I haven't reported those issues yet. I'll do it later. |
Sounds like two issues to me – one for hiding another to fix... aaaam something, so i'm like not sure what you want to fix |
Another argument for dividing those issue is that it would be easier for external contributors (since they already helped with that kind of issues before), so they could handle a hiding thing hence my reminder about creating other issues, whereas "fixing"... something doesn't have a really clear sequence of actions, at least to me, so it might be harder to them to tackle it |
Sure, I can separate them. Just not right now. ;) |
cool, thanks |
@markelog Done. |
The camelCase implementation used by the data module no longer turns `-ms-foo` into `msFoo` but to `MsFoo` now. This is because `data` is supposed to be a generic utility not specifically bound to CSS use cases. Fixes jquerygh-3355
The camelCase implementation used by the data module no longer turns `-ms-foo` into `msFoo` but to `MsFoo` now. This is because `data` is supposed to be a generic utility not specifically bound to CSS use cases. Fixes jquerygh-3355
PR: #4365 |
The camelCase implementation used by the data module no longer turns `-ms-foo` into `msFoo` but to `MsFoo` now. This is because `data` is supposed to be a generic utility not specifically bound to CSS use cases. Fixes jquerygh-3355
Description
jQuery.camelCase
contains a CSS-only quirk that replaces-ms-
toms-
. This quirk is needed only in the CSS module and yet the data module uses it as well, makingelem.data('-moz-a', 'b')
create anMozA
key andelem.data('-ms-a', 'b')
- anmsA
key. Those use cases should be separated.Due to needed breaking changes this is 4.0 material.
P.S. It would be best to resolve #3384 first.
EDIT: Description edited as part of this ticket has been separated to #3384.
Link to test case
https://jsfiddle.net/zmfvwak7/1/
The text was updated successfully, but these errors were encountered: