215c546fd5
This major version bump required two changes: - The global line in the mobile viewer example should be removed because the `.eslintrc` file already defines these globals and with the new `eslint` version we otherwise get an error saying "'pdfjsLib' is already defined as a built-in global variable". - The ECMA version for the examples must be set to 6 since we're using modules, otherwise we get an error saying "sourceType 'module' is not supported when ecmaVersion < 2015". It turns out that the previous version of `eslint` already used ECMA version 6 silently even though we set 5, see https://github.com/eslint/eslint/issues/9687#issuecomment-432413384, so in terms of our code nothing really changes. |
||
---|---|---|
.. | ||
acroforms | ||
browserify | ||
components | ||
image_decoders | ||
learning | ||
mobile-viewer | ||
node | ||
svgviewer | ||
text-only | ||
webpack | ||
.eslintrc |