Browse Source

Merge pull request #4040 from EE/api-typo

Correct a typo in `getJavaScript` function expression name.
Jonas Jenwald 12 years ago
parent
commit
183893adbf
  1. 2
      src/display/api.js

2
src/display/api.js

@ -217,7 +217,7 @@ var PDFDocumentProxy = (function PDFDocumentProxyClosure() { @@ -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…
Cancel
Save