mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 09:20:06 +02:00
Address formatting changes from Prettier version 3
This commit is contained in:
parent
1a4bfd2fc3
commit
f84657d837
4 changed files with 28 additions and 21 deletions
|
@ -2427,13 +2427,13 @@ describe("api", function () {
|
|||
docBaseUrl: "http://www.example.com/test/pdfs/qwerty.pdf",
|
||||
})
|
||||
);
|
||||
const docBaseUrlPromise = docBaseUrlLoadingTask.promise.then(function (
|
||||
pdfDoc
|
||||
) {
|
||||
return pdfDoc.getPage(1).then(function (pdfPage) {
|
||||
return pdfPage.getAnnotations();
|
||||
});
|
||||
});
|
||||
const docBaseUrlPromise = docBaseUrlLoadingTask.promise.then(
|
||||
function (pdfDoc) {
|
||||
return pdfDoc.getPage(1).then(function (pdfPage) {
|
||||
return pdfPage.getAnnotations();
|
||||
});
|
||||
}
|
||||
);
|
||||
|
||||
const invalidDocBaseUrlLoadingTask = getDocument(
|
||||
buildGetDocumentParams(filename, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue