Merge pull request #11958 from Snuffleupagus/rm-getOpenActionDestination
[api-minor] Remove the deprecated `PDFDocumentProxy.getOpenActionDestination` method (PR 11644 follow-up)
This commit is contained in:
commit
96ad60f116
@ -661,13 +661,6 @@ class PDFDocumentProxy {
|
|||||||
return this._transport.getOpenAction();
|
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
|
* @returns {Promise} A promise that is resolved with a lookup table for
|
||||||
* mapping named attachments to their content.
|
* mapping named attachments to their content.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user