Merge pull request #4040 from EE/api-typo

Correct a typo in `getJavaScript` function expression name.
This commit is contained in:
Jonas Jenwald 2013-12-17 04:29:29 -08:00
commit 183893adbf

View File

@ -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);