jquery / jquery/jquery-migrate
Consider warning against data keys starting with `-ms-`
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 2.1k
- Forks
- 476
- Avg merge
- 10m
- Merged PRs (30d)
- 1
Description
In 4.0, data no longer treats -ms ins a special way when camelcasing. In 3.x this was happening because the camelCasing logic was shared with the CSS module which needed it.
Consider warning against such usage. This should be pretty rare and there's no obvious proper way to fix it, so a warning should probably be enough.
If we decide to land it, it should go into both 3.x & 4.x lines.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the data camelCasing logic in the jQuery Migrate code and identify how warnings are emitted. Confirm the intended behavior for data keys beginning with -ms-, then ensure the warning and its coverage apply to both the 3.x and 4.x lines.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100