mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
[api-minor] Remove the deprecated PDFDocumentProxy.getOpenActionDestination
method (PR 11644 follow-up)
This method has been printing a `deprecated` warning in two releases, hence it should hopefully be safe to remove now.
This commit is contained in:
parent
8fc1126b5a
commit
64378fc366
1 changed files with 0 additions and 7 deletions
|
@ -661,13 +661,6 @@ class PDFDocumentProxy {
|
|||
return this._transport.getOpenAction();
|
||||
}
|
||||
|
||||
getOpenActionDestination() {
|
||||
deprecated("getOpenActionDestination, use getOpenAction instead.");
|
||||
return this.getOpenAction().then(function (openAction) {
|
||||
return openAction && openAction.dest ? openAction.dest : null;
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns {Promise} A promise that is resolved with a lookup table for
|
||||
* mapping named attachments to their content.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue