pdf.js/external/builder
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
..
fixtures Handle CSS-comments better in the preprocess-function (PR 14963 follow-up) 2022-06-02 16:06:47 +02:00
fixtures_esprima Fix duplicated function name in the Esprima fixtures 2018-08-25 16:23:20 +02:00
builder.js Handle CSS-comments better in the preprocess-function (PR 14963 follow-up) 2022-06-02 16:06:47 +02:00
preprocessor2.js Reduce unnecessary usage of Array.prototype.concat() 2022-06-19 13:40:52 +02:00
test-fixtures_esprima.js Replace *most* cases of var with let/const in the external/builder/ folder 2021-03-13 17:47:58 +01:00
test-fixtures.js Account for changes in eslint-plugin-import version 2.23.0 2021-05-16 11:50:55 +02:00