News for hackers. Stuff that matters.
Re:Removing jQuery from GitHub.com frontend by masklinn on Thursday July 26, 2018 @07:45AM (#17616651)
> P.S I'm not sure IE11 supports classList. Source: https://developer.mozilla.org/en-US/docs/Web/API/Element/cla....

It provides basic support for classlist, add/remove/toggle exist and work as you'd expect. It does not have complete supports of all bits of the API:

* it doesn't support the second argument to toggle so you have to use a conditional/ternary with add/remove

* it doesn't support passing multiple classes to add/remove

* it doesn't support replace

There are no comments on this comment yet.