src/aria/utils/ClassList.js
function (className) {
            var classes = this.getClassName().split(" ");
            for (var i = 0, ii = classes.length; i < ii; i++) {
                if (classes[i] == className) {
                    return true;
                }
            }
            return false;
        }
function (className) {
            var classes = this.getClassName().split(" ");
            for (var i = 0, ii = classes.length; i < ii; i++) {
                if (classes[i] == className) {
                    return true;
                }
            }
            return false;
        }
function ( className ) { var classes = this . getClassName ( ) . split ( " " ) ; for ( var i = 0 , ii = classes . length ; i < ii ; i ++ ) { if ( classes [ i ] == className ) { return true ; } } return false ; }
Returns true if the class name is in the class attribute
@param {String} className The class name to test
@return {Boolean}
Returns true if the class name is in the class attribute