Permalink
Browse files

unparam

  • Loading branch information...
1 parent 9233181 commit 9afcd3fb26460c695b0dd2b7750bce7f16a7be3d @douglascrockford committed May 20, 2011
Showing with 4 additions and 3 deletions.
  1. +4 −3 jslint.js
View
@@ -1,5 +1,5 @@
// jslint.js
-// 2011-05-19
+// 2011-05-20
// Copyright (c) 2002 Douglas Crockford (www.JSLint.com)
@@ -23,6 +23,7 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
+// WARNING: JSLint will hurt your feelings.
// JSLINT is a global function. It takes two parameters.
@@ -4162,7 +4163,7 @@ loop: for (;;) {
edge();
id = identifier();
params.push(token);
- add_label(id, option.unparam ? 'unparam' : 'parameter');
+ add_label(id, option.unparam ? 'parameter' : 'unparam');
if (next_token.id === ',') {
comma();
} else {
@@ -6757,7 +6758,7 @@ loop: for (;;) {
};
itself.jslint = itself;
- itself.edition = '2011-05-19';
+ itself.edition = '2011-05-20';
return itself;

0 comments on commit 9afcd3f

Please sign in to comment.