lukeed / lukeed/validator-lite
replace `classList` instances
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 6
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Replace `classList` on lines [136](https://github.com/lukeed/validator-lite/blob/master/lib/index.js#L136) and [149](https://github.com/lukeed/validator-lite/blob/master/lib/index.js#L149) with `className` alternatives.
Will [increase support](http://caniuse.com/#feat=classlist) from IE10 to IE8 (probably).
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
Open lib/index.js and inspect the classList instances on lines 136 and 149. Replace those uses with className alternatives while preserving the existing form-validation behavior, then verify that both locations work without classList support in older browsers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100