bdkjones/CodeKit — Issue #176: Missing "use strict" statement.
Author: kinoli
Created: 2012-01-31 02:11:44+00:00
State: open

Hi, I'm using JSHint to syntax checking and I have strict unchecked and globalstrict checked in my syntax Lints preferences but I am still getting this silly ecmascript 5 error of 'Missing "use string" statement' when compiling. Is there any way around this error? It makes syntax checking pretty much useless for me if I can't get around this.

It is erring out on my first line here...

$('#main_nav li').each(function(i) {
$(this).addClass('theme_'+i);
});

Thanks.