pdf.js/src/shared
Jonas Jenwald 9fc7cdcc9d Use a Map, rather than an Object, internally in the Catalog.openAction getter (PR 11644 follow-up)
This provides a work-around to avoid having to conditionally try to initialize the `openAction`-object in multiple places.
Given that `Object.fromEntries` doesn't seem to *guarantee* that a `null` prototype is used, we thus hack around that by using `Object.assign` with `Object.create(null)`.
2020-10-28 14:43:28 +01:00
..
.eslintrc Prevent use of optional chaining and nullish coalescing in the src/shared/ folder 2020-10-26 13:16:01 +01:00
cffStandardStrings.js Fix errors reported by the comma-spacing ESLint rule 2016-12-12 20:35:53 +01:00
compatibility.js Enable the ESLint no-var rule in the src/shared/ folder 2020-10-03 08:27:45 +02:00
fonts_utils.js Add typescript definitions 2020-07-30 11:10:37 +02:00
is_node.js Make the detection of Node.js environments on Electron strict. 2020-07-12 10:56:17 +09:00
message_handler.js Enable the ESLint no-var rule in the src/shared/ folder 2020-10-03 08:27:45 +02:00
util.js Use a Map, rather than an Object, internally in the Catalog.openAction getter (PR 11644 follow-up) 2020-10-28 14:43:28 +01:00
xml_parser.js Follow-up of pr #12344 2020-09-09 11:46:02 +02:00