Skip to content

Commit 5ac43fc

Browse files
committed
Replace deprecated "request" with "axios"
"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 <danxuliu@gmail.com>
1 parent 88b7e9c commit 5ac43fc

File tree

3 files changed

+105
-686
lines changed

3 files changed

+105
-686
lines changed

0 commit comments

Comments
 (0)