pdf.js/examples
Tim van der Meij 215c546fd5
Upgrade to eslint version 6
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.
2019-08-24 20:21:10 +02:00
..
acroforms Clarify that gulp dist-install should be used for the AcroForms example 2019-01-05 15:20:50 +01:00
browserify [api-minor] Change the getViewport method, on PDFPageProxy, to take a parameter object rather than a bunch of (randomly) ordered parameters 2018-12-21 11:55:20 +01:00
components [api-minor] Change the getViewport method, on PDFPageProxy, to take a parameter object rather than a bunch of (randomly) ordered parameters 2018-12-21 11:55:20 +01:00
image_decoders Manually fix remaining ESLint errors 2018-12-11 15:23:26 +01:00
learning Update remaining examples, and docs, to utilize current API functionality (issue 10377) 2018-12-24 12:33:39 +01:00
mobile-viewer Upgrade to eslint version 6 2019-08-24 20:21:10 +02:00
node Add missing hasChildNodes polyfill to domstubs.js (PR 10022 follow-up) 2019-04-01 23:23:50 +02:00
svgviewer ESLint --fix 2018-12-11 15:23:26 +01:00
text-only [api-minor] Change the getViewport method, on PDFPageProxy, to take a parameter object rather than a bunch of (randomly) ordered parameters 2018-12-21 11:55:20 +01:00
webpack added in information about pdfjs/webpack 2019-08-20 10:20:32 -04:00
.eslintrc Upgrade to eslint version 6 2019-08-24 20:21:10 +02:00