pdf.js/external
Jonas Jenwald c21f4faaf8 Reduce unnecessary usage of Array.prototype.concat()
There are obviously cases where using `concat` makes perfect sense, since that method doesn't change any of the existing Arrays; see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/concat

However, in a few cases throughout the code-base that's not an issue and using `concat` only leads to unnecessary intermediate allocations. With modern JavaScript we can thus replace those with a combination of `push` and spread-syntax, which wasn't originally possible when the code was written.
2022-06-19 13:40:52 +02:00
..
bcmaps Removes external/cmaps; adds binary cmaps to the repo 2014-03-17 13:30:27 -05:00
builder Reduce unnecessary usage of Array.prototype.concat() 2022-06-19 13:40:52 +02:00
cmapscompress Fix inefficient regular expressions in external/cmapscompress/parse.js 2021-08-01 12:12:42 +02:00
dist [api-minor] Remove the, in legacy builds, bundled ReadableStream polyfill 2022-02-13 10:15:58 +01:00
importL10n Enable the ESLint no-var rule in the external/ folder 2021-03-14 11:43:25 +01:00
quickjs Update quickjs to revision 2788d71e823b522b178db3b3660ce93689534e6d 2022-05-01 15:53:50 +02:00
standard_fonts Bundle the license-file for the Liberation fonts in the builds (PR 13517 follow-up) 2021-06-10 00:11:47 +02:00
systemjs Cache babel source map. 2021-04-09 10:34:54 -07:00
webL10n Use modern DOM methods a bit more (PR 15031 follow-up) 2022-06-13 10:47:37 +02:00
webpack Enable the ESLint no-var rule in the external/ folder 2021-03-14 11:43:25 +01:00
.eslintrc Enable the unicorn/prefer-at ESLint plugin rule (PR 15008 follow-up) 2022-06-09 21:21:19 +02:00
.gitignore Removes external/cmaps; adds binary cmaps to the repo 2014-03-17 13:30:27 -05:00