mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Correct a typo in getJavaScript
function expression name.
This commit is contained in:
parent
356ebf25cc
commit
ba2bbf0677
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ var PDFDocumentProxy = (function PDFDocumentProxyClosure() {
|
|||
* @return {Promise} A promise that is resolved with an array of all the
|
||||
* JavaScript strings in the name tree.
|
||||
*/
|
||||
getJavaScript: function PDFDocumentProxy_getDestinations() {
|
||||
getJavaScript: function PDFDocumentProxy_getJavaScript() {
|
||||
var promise = new PDFJS.Promise();
|
||||
var js = this.pdfInfo.javaScript;
|
||||
promise.resolve(js);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue