1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-25 01:28:06 +02:00
pdf.js/examples
Jonas Jenwald 5c712f2131 Enable the ESLint no-var rule in the examples/ folder
Updating the examples to use `let`/`const` should be fine, given that they are available in all browsers/platforms that the PDF.js library now supports; please note the following compatibility information:

 - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/let#browser_compatibility
 - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/const#browser_compatibility
2021-03-12 17:52:52 +01:00
..
browserify Replace *most* cases of var with let/const in the examples/ folder 2021-03-12 17:16:59 +01:00
components Replace *most* cases of var with let/const in the examples/ folder 2021-03-12 17:16:59 +01:00
image_decoders Replace *most* cases of var with let/const in the examples/ folder 2021-03-12 17:16:59 +01:00
learning Add direction: ltr; to the canvases used in examples/learning, to ensure correct text rendering (issue 11457) 2020-01-12 12:25:23 +01:00
mobile-viewer Enable the ESLint no-var rule in the examples/ folder 2021-03-12 17:52:52 +01:00
node Enable the ESLint no-var rule in the examples/ folder 2021-03-12 17:52:52 +01:00
svgviewer Replace *most* cases of var with let/const in the examples/ folder 2021-03-12 17:16:59 +01:00
text-only Replace *most* cases of var with let/const in the examples/ folder 2021-03-12 17:16:59 +01:00
webpack Replace *most* cases of var with let/const in the examples/ folder 2021-03-12 17:16:59 +01:00
.eslintrc Enable the ESLint no-var rule in the examples/ folder 2021-03-12 17:52:52 +01:00