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:
Jonas Jenwald 2024-06-12 13:21:33 +02:00
parent 341ff40e74
commit 42999e5bef
4 changed files with 29 additions and 37 deletions

View file

@ -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