File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
// jslint.js
2
- // 2012-07-23
2
+ // 2012-07-24
3
3
4
4
// Copyright (c) 2002 Douglas Crockford (www.JSLint.com)
5
5
@@ -591,7 +591,8 @@ var JSLINT = (function () {
591
591
unexpected_label_a : "Unexpected label '{a}'." ,
592
592
unexpected_property_a : "Unexpected /*property*/ '{a}'." ,
593
593
unexpected_space_a_b : "Unexpected space between '{a}' and '{b}'." ,
594
- unexpected_typeof_a : "Unexpected 'typeof'. Compare directly with '{a}'." ,
594
+ unexpected_typeof_a : "Unexpected 'typeof'. " +
595
+ "Use '===' to compare directly with {a}." ,
595
596
unnecessary_initialize : "It is not necessary to initialize '{a}' " +
596
597
"to 'undefined'." ,
597
598
unnecessary_use : "Unnecessary 'use strict'." ,
@@ -3579,7 +3580,7 @@ klass: do {
3579
3580
edge ( ) ;
3580
3581
e = expression ( 10 ) ;
3581
3582
if ( left . string === 'Boolean' && ( e . id === '!' || e . id === '~' ) ) {
3582
- warn ( 'unexpected_a ' , e ) ;
3583
+ warn ( 'weird_condition ' , e ) ;
3583
3584
}
3584
3585
p . push ( e ) ;
3585
3586
if ( next_token . id !== ',' ) {
@@ -6421,7 +6422,7 @@ klass: do {
6421
6422
6422
6423
itself . jslint = itself ;
6423
6424
6424
- itself . edition = '2012-07-23 ' ;
6425
+ itself . edition = '2012-07-24 ' ;
6425
6426
6426
6427
return itself ;
6427
6428
} ( ) ) ;
You can’t perform that action at this time.
0 commit comments