Skip to content

Commit

Permalink
v2.10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jugglinmike committed Feb 5, 2019
1 parent 036f085 commit 0e85de5
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,10 @@
<a name="2.10.1"></a>
## [2.10.1](https://github.com/jshint/jshint/compare/2.10.0...v2.10.1) (2019-02-05)

### Bug Fixes

* Do not add cls method names to env. record ([036f085](https://github.com/jshint/jshint/commit/036f085))

<a name="2.10.0"></a>
# [2.10.0](https://github.com/jshint/jshint/compare/2.9.7...v2.10.0) (2019-02-05)

Expand Down
4 changes: 2 additions & 2 deletions dist/jshint-rhino.js
@@ -1,6 +1,6 @@
#!/usr/bin/env rhino
var window = {};
/*! 2.10.0 */
/*! 2.10.1 */
var JSHINT;
if (typeof window === 'undefined') window = {};
(function () {
Expand Down Expand Up @@ -28229,7 +28229,7 @@ var JSHINT = (function() {
// it is a new block scope so that params can override it, it can be block scoped
// but declarations inside the function don't cause already declared error
state.funct["(scope)"].stack("functionouter");
var internallyAccessibleName = name || classExprBinding;
var internallyAccessibleName = !isMethod && (name || classExprBinding);
if (internallyAccessibleName) {
state.funct["(scope)"].block.add(internallyAccessibleName,
classExprBinding ? "class" : "function", state.tokens.curr, false);
Expand Down
4 changes: 2 additions & 2 deletions dist/jshint.js
@@ -1,4 +1,4 @@
/*! 2.10.0 */
/*! 2.10.1 */
var JSHINT;
if (typeof window === 'undefined') window = {};
(function () {
Expand Down Expand Up @@ -28227,7 +28227,7 @@ var JSHINT = (function() {
// it is a new block scope so that params can override it, it can be block scoped
// but declarations inside the function don't cause already declared error
state.funct["(scope)"].stack("functionouter");
var internallyAccessibleName = name || classExprBinding;
var internallyAccessibleName = !isMethod && (name || classExprBinding);
if (internallyAccessibleName) {
state.funct["(scope)"].block.add(internallyAccessibleName,
classExprBinding ? "class" : "function", state.tokens.curr, false);
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "jshint",
"version": "2.10.0",
"version": "2.10.1",
"homepage": "http://jshint.com/",
"description": "Static analysis tool for JavaScript",
"author": {
Expand Down

0 comments on commit 0e85de5

Please sign in to comment.