From ba2bbf0677003446fb744bc0bb698dbe418d3548 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Go=C5=82e=CC=A8biowski?= Date: Mon, 16 Dec 2013 21:40:43 +0100 Subject: [PATCH] Correct a typo in `getJavaScript` function expression name. --- src/display/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/display/api.js b/src/display/api.js index e2a8172f7..2a2587e04 100644 --- a/src/display/api.js +++ b/src/display/api.js @@ -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);