B2G/gecko/browser/components/tabview/iq.js
// Returns true is the receiver has the given css class.
Returns true is the receiver has the given css class.
Returns true is the receiver has the given css class .
function iQClass_hasClass(singleClassName) {
    let length = this.length;
    for (let i = 0; i < length; i++) {
      if (this[i].classList.contains(singleClassName)) {
        return true;
      }
    }
    return false;
  }
function iQClass_hasClass ( singleClassName ) { let length = this . length ; for ( let i = 0 ; i < length ; i ++ ) { if ( this [ i ] . classList . contains ( singleClassName ) ) { return true ; } } return false ; }
Returns true is the receiver has the given css class.
Returns true is the receiver has the given css class .