Fix finger print, remove unused code

This commit is contained in:
Yury Delendik 2012-04-12 15:14:18 -07:00
parent 13764d7f76
commit eba8f5a22c
2 changed files with 1 additions and 2 deletions

View File

@ -91,7 +91,7 @@ var WorkerMessageHandler = {
pdfModel = new PDFDocument(new Stream(data));
var doc = {
numPages: pdfModel.numPages,
fingerprint: pdfModel.fingerprint,
fingerprint: pdfModel.getFingerprint(),
destinations: pdfModel.catalog.destinations,
outline: pdfModel.catalog.documentOutline,
info: pdfModel.info,

View File

@ -860,7 +860,6 @@ var PageView = function pageView(container, pdfPage, id, scale,
}
this.getPagePoint = function pageViewGetPagePoint(x, y) {
var scale = PDFView.currentScale;
return this.viewport.convertToPdfPoint(x, y);
};