Commit graph

11 commits

Author SHA1 Message Date
Stan Hu
c34138e09e Remove pdf.js deprecation warnings
1. `page.getViewpoint()` now takes in JSON instead of an integer.
2. Promises are returned from loading and rendering tasks.

See https://mozilla.github.io/pdf.js/examples/index.html for more
details.
2019-07-30 06:52:56 -07:00
Lukas Eipert
c2674c2d37
Move to pdf.js distributed with npm
pdf.js is available on npm. Importing the dependency from there instead
of vendoring it has certain benefits, e.g. the discoverability of
updates (especially security fixes).
2019-05-10 15:07:41 -05:00
Winnie Hellmann
d89b19476d Use FIXTURES_PATH for loading test.pdf 2019-04-30 12:40:45 +02:00
Natalia Tepluhina
a88a8a08c2 Fixed pdf tests 2019-03-13 14:59:15 +02:00
Mike Greiling
f666026d71
Prettify all spec files 2018-10-17 11:18:17 -05:00
Johann Hubert Sonntagbauer
6f5723a169 enable jasmine/new-line-before-expect 2018-10-17 06:57:29 +02:00
Winnie Hellmann
1e2e0af67d Remove waiting from PDF page component test 2018-08-23 21:05:20 +02:00
Winnie Hellmann
7a870e4045 Enable no-console ESLint rule for tests 2018-07-24 14:27:59 +02:00
Lukas Eipert
6d8611567c
ensure that import/no-unresolved does not trigger for our fixture files 2018-06-20 14:28:28 +02:00
Mike Greiling
d935278055 Fix issues with pdf-js dependencies 2017-08-07 07:47:29 +00:00
Sam Rose
9f3985c613 Move PDFLab into GitLab 2017-04-28 12:52:36 -04:00