문제

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