Вопрос

I'm using jshint and have the following options defined:

/*global $, _*/
/*jshint devel:true*/

My understanding is that by having /*jshint devel:true*/ it should allow console and alert, but I continue to get errors on them. Any ideas if there's something else I need to do?

Thank you!

Это было полезно?

Решение

Add a space between the e and *

/*jshint devel:true */ 
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top