mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 01:10:08 +02:00
Re-factor PDFPrintServiceFactory
to use import maps
This is very old code, which can (ever so slightly) be simplified now that import maps are available.
This commit is contained in:
parent
60fd9d583d
commit
898172e9d2
6 changed files with 48 additions and 35 deletions
|
@ -217,4 +217,23 @@ class IL10n {
|
|||
resume() {}
|
||||
}
|
||||
|
||||
export { IDownloadManager, IL10n, IPDFLinkService, IRenderableView };
|
||||
/**
|
||||
* @interface
|
||||
*/
|
||||
class IPDFPrintServiceFactory {
|
||||
static get supportsPrinting() {
|
||||
return false;
|
||||
}
|
||||
|
||||
static createPrintService() {
|
||||
throw new Error("Not implemented: createPrintService");
|
||||
}
|
||||
}
|
||||
|
||||
export {
|
||||
IDownloadManager,
|
||||
IL10n,
|
||||
IPDFLinkService,
|
||||
IPDFPrintServiceFactory,
|
||||
IRenderableView,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue