UNPKG

@kickscondor/umbrellajs

Version:

Lightweight and intuitive javascript library

9 lines (8 loc) 290 B
// Removes a class from all of the matched nodes u.prototype.removeClass = function () { // Loop the combination of each node with each argument return this.eacharg(arguments, function (el, name) { // Remove the class using the native method el.classList.remove(name); }); };