mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 09:20:06 +02:00
Remove PDFViewerApplication.initPassiveLoading
and directly invoke the open
-method from the extension-specific code
This old method is essentially just adding, a small amount of, unnecessary indirection and we can easily invoke `PDFViewerApplication.open` directly from the extension-specific code instead.
This commit is contained in:
parent
b5e00e1fae
commit
ea1c910a66
4 changed files with 17 additions and 46 deletions
|
@ -24,7 +24,7 @@ class BaseExternalServices {
|
|||
|
||||
updateFindMatchesCount(data) {}
|
||||
|
||||
initPassiveLoading(callbacks) {}
|
||||
initPassiveLoading() {}
|
||||
|
||||
reportTelemetry(data) {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue