Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

todo

  • Loading branch information...
commit 6f23c57f64df8c994d48417ac5ad9adb6fc12157 1 parent 1d63dc7
Douglas Crockford authored July 14, 2012

Showing 1 changed file with 10 additions and 8 deletions. Show diff stats Hide diff stats

  1. 18  jslint.js
18  jslint.js
... ...
@@ -1,5 +1,5 @@
1 1
 // jslint.js
2  
-// 2012-07-10
  2
+// 2012-07-13
3 3
 
4 4
 // Copyright (c) 2002 Douglas Crockford  (www.JSLint.com)
5 5
 
@@ -161,6 +161,12 @@
161 161
 // These directives respect function scope.
162 162
 
163 163
 // The jslint directive is a special comment that can set one or more options.
  164
+// For example:
  165
+
  166
+/*jslint
  167
+    evil: true, nomen: true, regexp: true, todo: true
  168
+*/
  169
+
164 170
 // The current option set is
165 171
 
166 172
 //     anon       true, if the space may be omitted in anonymous function declarations
@@ -193,16 +199,11 @@
193 199
 //     sloppy     true, if the 'use strict'; pragma is optional
194 200
 //     stupid     true, if really stupid practices are tolerated
195 201
 //     sub        true, if all forms of subscript notation are tolerated
  202
+//     todo       true, if TODO comments are tolerated
196 203
 //     vars       true, if multiple var statements per function should be allowed
197 204
 //     white      true, if sloppy whitespace is tolerated
198 205
 //     windows    true, if MS Windows-specific globals should be predefined
199 206
 
200  
-// For example:
201  
-
202  
-/*jslint
203  
-    evil: true, nomen: true, regexp: true
204  
-*/
205  
-
206 207
 // The properties directive declares an exclusive list of property names.
207 208
 // Any properties named in the program that are not in the list will
208 209
 // produce a warning.
@@ -367,6 +368,7 @@ var JSLINT = (function () {
367 368
             sloppy    : true,
368 369
             stupid    : true,
369 370
             sub       : true,
  371
+            todo      : true,
370 372
             vars      : true,
371 373
             white     : true,
372 374
             windows   : true
@@ -6402,7 +6404,7 @@ klass:              do {
6402 6404
 
6403 6405
     itself.jslint = itself;
6404 6406
 
6405  
-    itself.edition = '2012-07-10';
  6407
+    itself.edition = '2012-07-13';
6406 6408
 
6407 6409
     return itself;
6408 6410
 }());

0 notes on commit 6f23c57

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