1

Closed

Allow specifying browser option for JSHint

description

JSHint will complain about window and document not being defined unless you set the browser option. It's be nice if this was allowed.

Look for a pull request from http://chirpy.codeplex.com/SourceControl/network/forks/dukesb11/Chirpy

file attachments

comments

dukesb11 wrote Jul 27, 2012 at 4:27 PM

Had weird issues with my fork, so I've attached a patch.

dukesb11 wrote Jul 27, 2012 at 4:33 PM

After updating Chirpy to test this, I wasn't able to get any warnings where I had been before, so I can't say this is 100% solid, but I'm pretty sure that this correctly adds and applies the option.

dukesb11 wrote Jul 27, 2012 at 5:06 PM

I figured out why it wasn't working (had it in the wrong AddIns folder), I can now verify that it works.