Log the build
number, in addition to the version
, in the viewer
Given that the `build` number allows you to *directly* find the relevant commit, it cannot hurt to log that one as well.
This commit is contained in:
parent
7d5f7a517c
commit
6bd5ef29ae
@ -1481,7 +1481,7 @@ const PDFViewerApplication = {
|
|||||||
console.log(
|
console.log(
|
||||||
`PDF ${pdfDocument.fingerprints[0]} [${info.PDFFormatVersion} ` +
|
`PDF ${pdfDocument.fingerprints[0]} [${info.PDFFormatVersion} ` +
|
||||||
`${(info.Producer || "-").trim()} / ${(info.Creator || "-").trim()}] ` +
|
`${(info.Producer || "-").trim()} / ${(info.Creator || "-").trim()}] ` +
|
||||||
`(PDF.js: ${version || "-"})`
|
`(PDF.js: ${version || "?"} [${build || "?"}])`
|
||||||
);
|
);
|
||||||
let pdfTitle = info.Title;
|
let pdfTitle = info.Title;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user