mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 01:10:08 +02:00
Remove the DownloadManager.downloadUrl
method
This method has only a single call-site in the viewer, since it's used as a fallback, and the functionality can be moved into the `DownloadManager.download` method instead.
This commit is contained in:
parent
341ff40e74
commit
42999e5bef
4 changed files with 29 additions and 37 deletions
|
@ -137,13 +137,6 @@ class IRenderableView {
|
|||
* @interface
|
||||
*/
|
||||
class IDownloadManager {
|
||||
/**
|
||||
* @param {string} url
|
||||
* @param {string} filename
|
||||
* @param {Object} [options]
|
||||
*/
|
||||
downloadUrl(url, filename, options) {}
|
||||
|
||||
/**
|
||||
* @param {Uint8Array} data
|
||||
* @param {string} filename
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue