Fix finger print, remove unused code
This commit is contained in:
parent
13764d7f76
commit
eba8f5a22c
@ -91,7 +91,7 @@ var WorkerMessageHandler = {
|
|||||||
pdfModel = new PDFDocument(new Stream(data));
|
pdfModel = new PDFDocument(new Stream(data));
|
||||||
var doc = {
|
var doc = {
|
||||||
numPages: pdfModel.numPages,
|
numPages: pdfModel.numPages,
|
||||||
fingerprint: pdfModel.fingerprint,
|
fingerprint: pdfModel.getFingerprint(),
|
||||||
destinations: pdfModel.catalog.destinations,
|
destinations: pdfModel.catalog.destinations,
|
||||||
outline: pdfModel.catalog.documentOutline,
|
outline: pdfModel.catalog.documentOutline,
|
||||||
info: pdfModel.info,
|
info: pdfModel.info,
|
||||||
|
@ -860,7 +860,6 @@ var PageView = function pageView(container, pdfPage, id, scale,
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.getPagePoint = function pageViewGetPagePoint(x, y) {
|
this.getPagePoint = function pageViewGetPagePoint(x, y) {
|
||||||
var scale = PDFView.currentScale;
|
|
||||||
return this.viewport.convertToPdfPoint(x, y);
|
return this.viewport.convertToPdfPoint(x, y);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user