jshint/jshint — pull request #341 by arcanin (2011-11-11 01:24:10+00:00)
Title: JS.Class, Three.js, alignments

Hi,

Related to the issue #314, I've added an option in order to solve it.

In order to avoid the general problem of smart tabulation (see the ticket for more information), the option will prevent detecting this pattern : `\t ` (but keeping the ` \t` verification). So if there is tabs then spaces it won't trigger anything (assuming that these spaces have an alignment purpose).

If the spaces are trailing, errors will be trigger, as usual.

Additionaly, I've also added options in order to predefine the three.js and js.class globals.

I've made tests for every feature, and every test (including old ones) is working.

What do you think about this ? Sounds good ?