diff --git a/lib/videojs-resolution-switcher.js b/lib/videojs-resolution-switcher.js index 15e3c72..b61cc7d 100644 --- a/lib/videojs-resolution-switcher.js +++ b/lib/videojs-resolution-switcher.js @@ -4,6 +4,9 @@ * Licensed under the Apache-2.0 license. */ (function() { + /* jshint eqnull: true*/ + /* global require */ + 'use strict'; var videojs = null; if(typeof window.videojs === 'undefined' && typeof require === 'function') { videojs = require('videojs'); @@ -12,8 +15,7 @@ } (function(window, videojs) { - /* jshint eqnull: true*/ - 'use strict'; + var defaults = {}, videoJsResolutionSwitcher; @@ -224,7 +226,10 @@ // Create resolution switcher for videos form tag inside