pdf.js/test/unit
Jonas Jenwald 52e0f51917 Enable the no-unused-vars ESLint rule
Please see http://eslint.org/docs/rules/no-unused-vars; note that this patch purposely uses the same rule options as in `mozilla-central`, such that it fixes part of issue 7957.

It wasn't, in my opinion, entirely straightforward to enable this rule compared to the already existing rules. In many cases a `var descriptiveName = ...` format was used (more or less) to document the code, and I choose to place the old variable name in a trailing comment to not lose that information.

I welcome feedback on these changes, since it wasn't always entirely easy to know what changes made the most sense in every situation.
2017-01-29 23:23:17 +01:00
..
annotation_spec.js Simplify the FileAttachmentAnnotation unit-test to avoid having to use the entire API in the test 2017-01-12 19:10:37 +01:00
api_spec.js unit test files as UMD modules 2017-01-09 11:40:57 -05:00
bidi_spec.js Fix inverted calculation of RTL text percentage in bidi. 2017-01-12 23:54:06 +08:00
cff_parser_spec.js Enable the no-unused-vars ESLint rule 2017-01-29 23:23:17 +01:00
clitests.json Simplify the FileAttachmentAnnotation unit-test to avoid having to use the entire API in the test 2017-01-12 19:10:37 +01:00
cmap_spec.js unit test files as UMD modules 2017-01-09 11:40:57 -05:00
crypto_spec.js unit test files as UMD modules 2017-01-09 11:40:57 -05:00
document_spec.js Replace direct lookup of uniquePrefix/idCounters, in Page instances, with an idFactory containing an createObjId method instead 2017-01-09 23:16:25 +01:00
dom_utils_spec.js unit test files as UMD modules 2017-01-09 11:40:57 -05:00
evaluator_spec.js unit test files as UMD modules 2017-01-09 11:40:57 -05:00
fonts_spec.js unit test files as UMD modules 2017-01-09 11:40:57 -05:00
function_spec.js unit test files as UMD modules 2017-01-09 11:40:57 -05:00
jasmine-boot.js Enable the no-unused-vars ESLint rule 2017-01-29 23:23:17 +01:00
metadata_spec.js unit test files as UMD modules 2017-01-09 11:40:57 -05:00
murmurhash3_spec.js unit test files as UMD modules 2017-01-09 11:40:57 -05:00
network_spec.js Enable the no-unused-vars ESLint rule 2017-01-29 23:23:17 +01:00
parser_spec.js unit test files as UMD modules 2017-01-09 11:40:57 -05:00
primitives_spec.js unit test files as UMD modules 2017-01-09 11:40:57 -05:00
stream_spec.js unit test files as UMD modules 2017-01-09 11:40:57 -05:00
testreporter.js Enable the no-unused-vars ESLint rule 2017-01-29 23:23:17 +01:00
type1_parser_spec.js unit test files as UMD modules 2017-01-09 11:40:57 -05:00
ui_utils_spec.js unit test files as UMD modules 2017-01-09 11:40:57 -05:00
unicode_spec.js unit test files as UMD modules 2017-01-09 11:40:57 -05:00
unit_test.html unit test files as UMD modules 2017-01-09 11:40:57 -05:00
util_spec.js unit test files as UMD modules 2017-01-09 11:40:57 -05:00