pdf.js/src
Jonas Jenwald 9a9a5b2365 Replace the compareByteArrays functions, in src/core/crypto.js, with the isArrayEqual helper function
The `compareByteArrays` is first of all duplicated in multiple closures in the `src/core/crypto.js` file. Secondly, despite its name, it's also functionally equivalent to the now existing `isArrayEqual` helper function.

The `isArrayEqual` helper function is changed to use a standard `for`-loop, rather than `Array.prototype.every`, since that ought to be slightly more efficient given that we're now using it with (potentially) larger data.
2021-02-26 15:51:32 +01:00
..
core Replace the compareByteArrays functions, in src/core/crypto.js, with the isArrayEqual helper function 2021-02-26 15:51:32 +01:00
display Move the opening of PDF file attachments into the DownloadManager-implementations 2021-02-23 13:44:23 +01:00
images Vectorize the logo. 2012-10-29 14:08:52 -04:00
scripting_api JS - Fix setting a color on an annotation 2021-02-20 15:24:37 +01:00
shared Replace the compareByteArrays functions, in src/core/crypto.js, with the isArrayEqual helper function 2021-02-26 15:51:32 +01:00
.eslintrc Re-factor how the ESLint no-var rule is enabled in the src/ folder 2020-10-03 20:15:29 +02:00
doc_helper.js [api-major] Completely remove the global PDFJS object 2018-03-01 18:13:27 +01:00
interfaces.js Use ESLint to ensure that exports are sorted alphabetically 2021-01-09 20:37:51 +01:00
license_header_libre.js Update the year in the license_header files 2021-02-11 17:52:26 +01:00
license_header.js Update the year in the license_header files 2021-02-11 17:52:26 +01:00
pdf.image_decoders.js Use ESLint to ensure that exports are sorted alphabetically 2021-01-09 20:37:51 +01:00
pdf.js Use ESLint to ensure that exports are sorted alphabetically 2021-01-09 20:37:51 +01:00
pdf.sandbox.external.js Update the events, used with scripting, to use lower-case names and avoid using DOM events internally in the viewer 2020-12-18 22:10:32 +01:00
pdf.sandbox.js JS - QuickJS sandbox initialization must be the last evaluated string (#12914) 2021-01-26 14:56:01 +01:00
pdf.scripting.js Tweak the pdf.scripting.js bundling, to improve overall consistency 2020-10-25 16:36:56 +01:00
pdf.worker.entry.js Update the year in the license_header files 2021-02-11 17:52:26 +01:00
pdf.worker.js Convert the src/pdf.js and src/pdf.worker.js files to use standard import/export statements 2020-05-20 13:18:23 +02:00
worker_loader.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00