Implemented weak equality for jslint locally
... and BTW removed from global configuration
Showing
2 changed files
with
2 additions
and
2 deletions
... | @@ -3,8 +3,7 @@ | ... | @@ -3,8 +3,7 @@ |
3 | "browser": true, | 3 | "browser": true, |
4 | "debug": true, | 4 | "debug": true, |
5 | "devel": true, | 5 | "devel": true, |
6 | "eqeqeq": false, | 6 | "eqeqeq": true, |
7 | "eqnull": true, | ||
8 | "evil": true, | 7 | "evil": true, |
9 | "maxparams": 5, | 8 | "maxparams": 5, |
10 | "maxdepth": 3, | 9 | "maxdepth": 3, | ... | ... |
... | @@ -80,6 +80,7 @@ exports.betterTypeOf = betterTypeOf; | ... | @@ -80,6 +80,7 @@ exports.betterTypeOf = betterTypeOf; |
80 | */ | 80 | */ |
81 | function betterInstanceOf(input, constructor) { | 81 | function betterInstanceOf(input, constructor) { |
82 | "use strict"; | 82 | "use strict"; |
83 | /*jshint eqnull:true */ | ||
83 | while (input != null) { | 84 | while (input != null) { |
84 | if (input == constructor.prototype) { | 85 | if (input == constructor.prototype) { |
85 | return true; | 86 | return true; | ... | ... |
-
Please register or sign in to post a comment