eligrey / eligrey/classList.js
classList.js does not work if loaded after DOMContentLoaded
Open
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 226
- PR merge metrics
- No merged PRs in 30d
Description
I defer all of my JavaScript until after DOMContentLoaded. The classList.js polyfill is not accessible unless it is loaded at or before document.readyState === "loading". How can this be overcome?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.