Skip to content

Commit

Permalink
Replace deprecated "request" with "axios"
Browse files Browse the repository at this point in the history
"request" was used only to get the "pdfjs-XXX-dist.zip" file when
building the app, but it was not used in the app itself.

It seems that it is not possible (with axios options only) to throttle
the "onDownloadProgress" event. Nevertheless, an external throttle
function was not used, as the event is not triggered very often and
therefore it does not need to be throttled.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
  • Loading branch information
danxuliu committed Aug 8, 2023
1 parent 88b7e9c commit 5ac43fc
Show file tree
Hide file tree
Showing 3 changed files with 105 additions and 686 deletions.
Loading

0 comments on commit 5ac43fc

Please sign in to comment.