videojs/video.js — pull request #1464 by baloneysandwiches (2014-08-30 01:06:17+00:00)
Title: add a hasClass() method

Two goals here:

First, the removeClass() wasn't adding spaces before and after element.className and the class. This could create weird false positives as we get into compound class names, like vjs-fluid, and vjs-fluid-4-3. This aligns the check across both methods.

Second, I think hasClass is going to be essential for testing, going forward.