[Pkg-javascript-commits] [pdf.js] 64/106: Fix a couple of function names in error messages in PDFLinkService
David Prévot
taffit at moszumanska.debian.org
Sat Jun 20 21:34:23 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository pdf.js.
commit 3d9a8022cef636d40ea7d7ebaee4a65c1a21dc71
Author: Jonas Jenwald <jonas.jenwald at gmail.com>
Date: Fri May 29 13:47:28 2015 +0200
Fix a couple of function names in error messages in PDFLinkService
---
web/pdf_link_service.js | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/web/pdf_link_service.js b/web/pdf_link_service.js
index 54244e1..a89cdd7 100644
--- a/web/pdf_link_service.js
+++ b/web/pdf_link_service.js
@@ -65,12 +65,14 @@ var PDFLinkService = (function () {
get page() {
return this.pdfViewer.currentPageNumber;
},
+
/**
* @param {number} value
*/
set page(value) {
this.pdfViewer.currentPageNumber = value;
},
+
/**
* @param dest - The PDF destination object.
*/
@@ -207,7 +209,7 @@ var PDFLinkService = (function () {
zoomArgs.length > 1 ? (zoomArgs[1] | 0) : null];
} else if (zoomArg === 'FitR') {
if (zoomArgs.length !== 5) {
- console.error('pdfViewSetHash: ' +
+ console.error('PDFLinkService_setHash: ' +
'Not enough parameters for \'FitR\'.');
} else {
dest = [null, { name: zoomArg },
@@ -215,7 +217,7 @@ var PDFLinkService = (function () {
(zoomArgs[3] | 0), (zoomArgs[4] | 0)];
}
} else {
- console.error('pdfViewSetHash: \'' + zoomArg +
+ console.error('PDFLinkService_setHash: \'' + zoomArg +
'\' is not a valid zoom value.');
}
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git
More information about the Pkg-javascript-commits
mailing list