1
0
Fork 0
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:
Jonas Jenwald 2016-12-10 21:33:39 +01:00
parent c36468cbce
commit efbb1e9b1c
2 changed files with 5 additions and 5 deletions

View file

@ -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();
});