Skip to content

Commit

Permalink
strict does not turn off newcap
Browse files Browse the repository at this point in the history
  • Loading branch information
douglascrockford committed Apr 16, 2012
1 parent abf6a09 commit 4f2bf65
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions jslint.js
@@ -1,5 +1,5 @@
// jslint.js
// 2012-03-29
// 2012-04-15

// Copyright (c) 2002 Douglas Crockford (www.JSLint.com)

Expand Down Expand Up @@ -2409,7 +2409,6 @@ klass: do {
advance();
semicolon();
strict_mode = true;
option.newcap = false;
option.undef = false;
return true;
}
Expand Down Expand Up @@ -6394,7 +6393,7 @@ klass: do {
};
itself.jslint = itself;

itself.edition = '2012-03-29';
itself.edition = '2012-04-15';

return itself;
}());

0 comments on commit 4f2bf65

Please sign in to comment.