Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

option.closure

  • Loading branch information...
commit add811ae46f5734173d6cdc9910673b5f6c7dbc5 1 parent dcede57
Douglas Crockford authored
Showing with 9 additions and 3 deletions.
  1. +4 −3 jslint.html
  2. +5 −0 lint.html
View
7 jslint.html
@@ -287,23 +287,24 @@
</div>
<div class=tristate>Tolerate...
<div title=bitwise><button></button><var></var> bitwise operators</div>
- <div title=continue><button></button><var></var> continue </div>
+ <div title=closure><button></button><var></var> Google Closure</div>
+ <div title=continue><button></button><var></var> continue</div>
<div title=debug><button></button><var></var> debugger statements</div>
<div title=eqeq><button></button><var></var> ==&nbsp;and&nbsp;!=</div>
<div title=es5><button></button><var></var> ES5 syntax</div>
<div title=evil><button></button><var></var> eval </div>
- <div title=forin><button></button><var></var> <a href="http://yuiblog.com/blog/2006/09/26/for-in-intrigue/">unfiltered</a> for in </div>
</div>
<div class=tristate>Tolerate...
+ <div title=forin><button></button><var></var> <a href="http://yuiblog.com/blog/2006/09/26/for-in-intrigue/">unfiltered</a> for in </div>
<div title=newcap><button></button><var></var> uncapitalized constructors</div>
<div title=nomen><button></button><var></var> dangling _ in identifiers</div>
<div title=plusplus><button></button><var></var> ++&nbsp;and&nbsp;-- </div>
<div title=regexp><button></button><var></var> .&nbsp;and&nbsp;[^ ... ]&nbsp;in&nbsp;/RegExp/</div>
<div title=undef><button></button><var></var> misordered definitions</div>
<div title=unparam><button></button><var></var> unused parameters</div>
- <div title=sloppy><button></button><var></var> missing&nbsp;'use strict'&nbsp;pragma</div>
</div>
<div class=tristate>Tolerate...
+ <div title=sloppy><button></button><var></var> missing&nbsp;'use strict'&nbsp;pragma</div>
<div title=stupid><button></button><var></var> stupidity</div>
<div title=sub><button></button><var></var> inefficient subscripting</div>
<div title=todo><button></button><var></var> TODO comments</div>
View
5 lint.html
@@ -506,6 +506,11 @@ <h1 id=options>Options</h1>
<a href="#browser"><small>(more)</small></a> </td>
</tr>
<tr>
+ <td>Tolerate Google Closure idioms</td>
+ <td><code>closure</code></td>
+ <td><code>true</code> if Google Closure annotations should be allowed.</td>
+ </tr>
+ <tr>
<td>Tolerate <code>continue</code></td>
<td><code>continue</code></td>
<td><code>true</code> if the <code>continue</code> statement should be allowed.</td>

0 comments on commit add811a

Please sign in to comment.
Something went wrong with that request. Please try again.