• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jshint / jshint / 2908
100%

Build:
DEFAULT BRANCH: master
Ran 05 Feb 2019 06:10PM UTC
Jobs 4
Files 15
Run time 5min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
2908

push

travis-ci

rwaldron
[[FIX]] Do not add cls method names to env. record

A recent refactoring of the class parsing logic [1] removed the function
name inference logic (i.e. integration with the `nameStack` object) in
favor of a similar codepath within the generic `doFunction` routine. By
providing the method name to that routine, the change had an unintended
side effect: method names were used to create new entries in the new
environment record. This was observable from user code in the presence
of JSHint's `unused` linting option: when set, methods would incorrectly
shadow variables that shared the same name.

Continue to rely on the `doFunction` method for name inference (limiting
duplication), but disable the extension of the environment record for
that case.

1 of 1 new or added line in 1 file covered. (100.0%)

4379 of 4447 relevant lines covered (98.47%)

15252.54 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2908.1 05 Feb 2019 06:11PM UTC 0
98.45
Travis Job 2908.1
2 2908.2 05 Feb 2019 06:10PM UTC 0
98.47
Travis Job 2908.2
3 2908.3 05 Feb 2019 06:11PM UTC 0
98.47
Travis Job 2908.3
4 2908.4 05 Feb 2019 06:13PM UTC 0
98.47
Travis Job 2908.4
Source Files on build 2908
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2908
  • 036f0851 on github
  • Prev Build on master (#2905)
  • Next Build on master (#2909)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc