mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-21 07:38:07 +02:00
Fix errors reported by the new-cap
ESLint rule
http://eslint.org/docs/rules/new-cap
This commit is contained in:
parent
c36468cbce
commit
efbb1e9b1c
2 changed files with 5 additions and 5 deletions
|
@ -505,7 +505,7 @@ describe('api', function() {
|
|||
|
||||
// PageLabels with bad "Prefix" entries.
|
||||
var url3 = new URL('../pdfs/bad-PageLabels.pdf', window.location).href;
|
||||
var loadingTask3 = new PDFJS.getDocument(url3);
|
||||
var loadingTask3 = PDFJS.getDocument(url3);
|
||||
var promise3 = loadingTask3.promise.then(function (pdfDoc) {
|
||||
return pdfDoc.getPageLabels();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue