Can we use Element.classList or not?
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 13k
- Forks
- 1.4k
- Avg merge
- 15h 36m
- Merged PRs (30d)
- 3
Description
I just want to ask whether we use Element.classList or not. Cross-browser support is not perfect but it should be good enough.
I'm asking because I thought that we don't use .classList but plugins like Line numbers are sending mixed messages, so I'm not sure.
/cc @mAAdhaTTah
Contributor guide
No contributing guide indexed for this repository
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
Review the plugin code at plugins/line-numbers/prism-line-numbers.js, especially the references around lines 88 and 147. Determine whether Element.classList is supported for project code and plugins, then document the decision and any resulting guidance for class manipulation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100