B2G/gecko/browser/components/tabview/iq.js
// Removes the given class(es) from the receiver.
Removes the given class(es) from the receiver.
Removes the given class ( es ) from the receiver .
function iQClass_removeClass(value) {
    if (typeof value != "string" || !value) {
      Utils.assert(false, 'does not support function argument');
      return null;
    }
    let length = this.length;
    for (let i = 0; i < length; i++) {
      let elem = this[i];
      if (elem.nodeType === 1 && elem.className) {
        value.split(/\s+/).forEach(function(className) {
          elem.classList.remove(className);
        });
      }
    }
    return this;
  }
function iQClass_removeClass ( value ) { if ( typeof value != "string" || ! value ) { Utils . assert ( false , 'does not support function argument' ) ; return null ; } let length = this . length ; for ( let i = 0 ; i < length ; i ++ ) { let elem = this [ i ] ; if ( elem . nodeType === 1 && elem . className ) { value . split ( / \s+ / ) . forEach ( function ( className ) { elem . classList . remove ( className ) ; } ) ; } } return this ; }
Removes the given class(es) from the receiver.
Removes the given class ( es ) from the receiver .