mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 01:10:08 +02:00
Remove the createDownloadManager
method from DefaultExternalServices
Given the simplicity of the `createDownloadManager` method, we can leverage import maps to directly initialize the correct `DownloadManager`-instance depending on the build.
This commit is contained in:
parent
d8f77e6b84
commit
1698991ae2
8 changed files with 9 additions and 20 deletions
|
@ -382,10 +382,6 @@ class FirefoxExternalServices extends DefaultExternalServices {
|
|||
FirefoxCom.request("reportTelemetry", JSON.stringify(data));
|
||||
}
|
||||
|
||||
static createDownloadManager() {
|
||||
return new DownloadManager();
|
||||
}
|
||||
|
||||
static createPreferences() {
|
||||
return new FirefoxPreferences();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue