pdf.js/src/display
Jonas Jenwald bc736fdc7d Adjust the brace-style ESLint rule to disallow single lines (and also enable no-iterator)
See http://eslint.org/docs/rules/brace-style.
Having the opening/closing braces on the same line can often make the code slightly more difficult to read, in particular for `if`/`else if` statements, compared to using new lines.

This patch also, for consistency with `mozilla-central`, enables the [`no-iterator`](http://eslint.org/docs/rules/no-iterator) rule. Note that this rule didn't require a single code change.
2017-02-04 15:53:08 +01:00
..
annotation_layer.js Append the contents of FileAttachment annotations to the attachments view of the sidebar, for easier access to the embedded files 2017-01-31 22:26:16 +01:00
api.js Enable the no-unused-vars ESLint rule 2017-01-29 23:23:17 +01:00
canvas.js Remove usage of mozFillRule 2017-01-29 23:24:44 +01:00
dom_utils.js Adjust the brace-style ESLint rule to disallow single lines (and also enable no-iterator) 2017-02-04 15:53:08 +01:00
font_loader.js Removes rest of 'no-else-return' comments. 2017-01-09 19:13:36 -06:00
global.js Adjust the brace-style ESLint rule to disallow single lines (and also enable no-iterator) 2017-02-04 15:53:08 +01:00
metadata.js Remove globals that are now unnecessary thanks to the use of various ESLint environments (e.g. Node, ShellJS, Jasmine) 2016-12-16 21:09:55 +01:00
pattern_helper.js Enable the spaced-comment ESLint rule 2017-01-19 16:41:59 +01:00
svg.js Switch to using ESLint, instead of JSHint, for linting 2016-12-16 21:06:36 +01:00
text_layer.js Adjust the brace-style ESLint rule to disallow single lines (and also enable no-iterator) 2017-02-04 15:53:08 +01:00
webgl.js Switch to using ESLint, instead of JSHint, for linting 2016-12-16 21:06:36 +01:00