A super strict shim/polyfill for DOMTokenList, classList and relList. Small, < 1 kB minified and gzipped (~ 2kB minified).
All you need to do is include the JavaScript file and everything will be ready to go. If native DOMTokenList support is detected, nothing will be done.
<script src="https://github.com/jwilsson/domtokenlist/raw/master/domtokenlist.min.js"></script>
MIT license. See LICENSE.md for more information.
Developed by Jonathan Wilsson and Bogdan Chadkin.
A big thanks to BrowserStack for sponsoring our test environment.