vendor/videojs/video.js
function removeElClass(element, classToRemove) {
  if (element.classList) {
    element.classList.remove(classToRemove);
  } else {
    throwIfWhitespace(classToRemove);
    element.className = element.className.split(/\s+/).filter(function (c) {
      return c !== classToRemove;
    }).join(' ');
  }

  return element;
}
function removeElClass(element, classToRemove) {
  if (element.classList) {
    element.classList.remove(classToRemove);
  } else {
    throwIfWhitespace(classToRemove);
    element.className = element.className.split(/\s+/).filter(function (c) {
      return c !== classToRemove;
    }).join(' ');
  }

  return element;
}
function removeElClass ( element , classToRemove ) { if ( element . classList ) { element . classList . remove ( classToRemove ) ; } else { throwIfWhitespace ( classToRemove ) ; element . className = element . className . split ( / \s+ / ) . filter ( function ( c ) { return c !== classToRemove ; } ) . join ( ' ' ) ; } return element ; }
Remove a CSS class name from an element

@function removeElClass
@param {Element} element    Element to remove from class name
@param {String} classToRemove Classname to remove
Remove a CSS class name from an element