Skip to content

Commit

Permalink
Merge pull request #11958 from Snuffleupagus/rm-getOpenActionDestination
Browse files Browse the repository at this point in the history
[api-minor] Remove the deprecated `PDFDocumentProxy.getOpenActionDestination` method (PR 11644 follow-up)
  • Loading branch information
timvandermeij authored Jun 2, 2020
2 parents 8fc1126 + 64378fc commit 96ad60f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/display/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 96ad60f

Please sign in to comment.