Correct a typo in getJavaScript function expression name.

This commit is contained in:
Michał Gołębiowski 2013-12-16 21:40:43 +01:00
parent 356ebf25cc
commit ba2bbf0677

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