pdf.js/examples
Jonas Jenwald d144d01afe Simplify the animationStarted handling in the mobile-viewer/ example
(This is something that I happened to notice while working on the previous patch.)

The code in the `examples/mobile-viewer/viewer.js` file is essentially copied from an older version of the default viewer, hence we can slightly simplify the `animationStarted` handling here.
2021-03-12 17:52:58 +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 Simplify the animationStarted handling in the mobile-viewer/ example 2021-03-12 17:52:58 +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