Commit | Line | Data |
---|---|---|
758a629f DV |
1 | April 16, 2011 |
2 | * New edition: 2011-04-16 | |
3 | ||
4 | * Unit tests for all options and some core functions | |
5 | * A number of small typo and message fixes | |
6 | * JSHint is now a JavaScript/JSON parser only | |
7 | (ADSafe, HTML, CSS related code was removed) | |
8 | * JSHint now supports function-scoped options | |
9 | * JSHint now supports both /*jshint and /*jslint | |
10 | ||
11 | * JSHint now supports shebangs (#!) | |
12 | * Added support for typed array globals | |
13 | * Allowed the use of variables/functions before definition. | |
14 | (option 'latedef' to disallow) | |
15 | * Fixed a bug with 'forin' option | |
16 | * Fixed Rhino wrapper's CLI options support | |
17 | * Fixed a bug with JSHint leaking internal variables | |
18 | * Added option 'expr' to allow ExpressionStatement as valid Program | |
19 | * Added an option 'prototypejs' to pre-define Prototype globals | |
20 | * Added XPathResult et al. to the 'browser' option | |
21 | * Added support for 'undefined' as a function parameter | |
22 | * Option 'boss' has now precedence over 'eqeqeq' when it comes to '== null' | |
23 | * Fixed a bug with JSHint parsing getters/setters as function statements | |
24 | * Added an option 'mootools' to pre-define MooTools globals | |
25 | * Added an option 'globalstrict' to allow the use of global strict mode | |
26 | * Added HTMLElement to the browser environment | |
27 | * Added support for the void operator | |
28 | * Fixed a bug with 'new Array' | |
29 | * Added option 'white' to check for trailing whitespaces | |
30 | ||
31 | March 01, 2011 | |
32 | * New edition: 2011-03-02 | |
33 | ||
34 | * When library is used from Rhino, you can provide options via command line arguments | |
35 | ||
36 | * Added new HTML5 globals to the 'browser' option | |
37 | * Tolerate == null when boss:true | |
38 | * Tolerate undefined variables in the typeof and delete | |
39 | * Tolerate undefined as a formal parameter | |
40 | * Recognize new Array(<expr>) as a valid expression | |
41 | * Added support for explicit case statement fallthroughs (using special comments) | |
42 | * Added third formal parameter to JSHINT for specifying pre-defined globals | |
43 | ||
44 | * New option 'asi' to tolerate the use of automatic semicolon insertion | |
45 | * New option 'jquery' to assume jQuery environment | |
46 | * New option 'couch' to assume CouchDB environment | |
47 | ||
48 | February 19, 2011 | |
49 | * New edition: 2011-02-19 | |
50 | ||
51 | * Library can act as a Node.js module and a Rhino program | |
52 | ||
53 | * Tolerate single statements in if/for/while constructions ('curly' to disallow) | |
54 | * Tolerate arguments.callee and arguments.caller ('noarg' to disallow) | |
55 | * Tolerate empty blocks ('noempty' to disallow) | |
56 | * Tolerate the use of `new` for side-effects ('nonew' to disallow) | |
57 | * Less strict styling check by default ('white' to revert) | |
58 | ||
59 | * New option 'boss' to tolerate assignments inside if/for/while | |
60 | * New option 'node' to assume Node environment | |
61 | ||
62 | January 19, 2011 | |
63 | * Forked JSLint from the edition 2010-12-16 |