benjipott/videojs-hlsjs

console.log errors in jshint task

ziodave opened this issue · 1 comments

Hello,

While running grunt default, the jshint:src task the following errors are raised:

Running "jshint:src" (jshint) task
Linting lib/videojs-hlsjs.js ...ERROR
[L75:C13] W117: 'console' is not defined.
            console.log(data.type);
Linting lib/videojs-hlsjs.js ...ERROR
[L76:C13] W117: 'console' is not defined.
            console.log(data.details);
Linting lib/videojs-hlsjs.js ...ERROR
[L96:C9] W117: 'console' is not defined.
        console.log('Hls.isSupported');

Adding "devel": [ "console" ] to the .jshintrc file solves.