benjipott / videojs-hlsjs

Hls.js plugin for videojs
Other
79 stars 31 forks source link

console.log errors in jshint task #5

Open ziodave opened 8 years ago

ziodave commented 8 years ago

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');
ziodave commented 8 years ago

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