Skip to content
Cross-browser element.classList
JavaScript CoffeeScript Shell HTML
Branch: master
Clone or download

Latest commit

Latest commit ecb3305 Jan 12, 2018


Type Name Latest commit message Commit time
Failed to load latest commit information.
script Add script to run QUnit tests headless with PhantomJS Jul 24, 2014
tests Port duplicationTest.html to QUnit Jul 24, 2014
.travis.yml Add Travis CI setup for headless testing Jul 24, 2014 Addressing concerns from #37 Mar 12, 2015 Update CDN URLs Jan 7, 2018
classList.js Fix #74 and #75 Dec 10, 2017
classList.min.js Fix #74 and #75 Dec 10, 2017
package.json Update version again Jan 12, 2018

classList.js is a cross-browser JavaScript shim that fully implements element.classList. Refer to the MDN page on element.classList for more information.

This works in every browser except IE 7 or earlier.

classList.js is available on these public CDN URLs, allowing you to use this already small file at nearly zero size overhead.

If you would like other versions (such as the current one) hosted there, follow the instructions at and to prepare a pull request.

Tracking image

You can’t perform that action at this time.