src/js/libs/spiritual-gui.js
function(element, name) {
			if (this._supports) {
				return element.classList.contains(name);
			} else {
				var classnames = element.className.split(" ");
				return classnames.indexOf(name) > -1;
			}
		}
function(element, name) {
			if (this._supports) {
				return element.classList.contains(name);
			} else {
				var classnames = element.className.split(" ");
				return classnames.indexOf(name) > -1;
			}
		}
function ( element , name ) { if ( this . _supports ) { return element . classList . contains ( name ) ; } else { var classnames = element . className . split ( " " ) ; return classnames . indexOf ( name ) > - 1 ; } }
classList.contains
@param {Element} element
@param {String} name
@returns {boolean}
classList . contains