pdf.js/src/shared
Jonas Jenwald 70d1869fe5 Remove the, strictly unnecessary, closure and variable shadowing from createObjectURL
Note that this particular helper function is, with the exception of the `GENERIC` default viewer and the (unsupported) SVG-backend, mostly unused at this point in time. Hence we should be able to clean-up this helper function slightly.

Also, fixes a small inconsistency in the `SVGGraphics` initialization in the viewer, by passing in the `disableCreateObjectURL` compatibility-option. Given that the SVG-backend isn't officially supported/recommended this shouldn't have been an issue, but given that I spotted this it can't hurt to fix it.
2021-02-25 16:34:23 +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 Change the minimum "supported" version of the Safari-browser to Safari 10 2020-12-15 09:49:32 +01:00
fonts_utils.js Fix some static static analyzer warnings (issue 11965) 2020-11-01 12:08:38 +01: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
scripting_utils.js [Regression] Prevent the *built* pdf.scripting.js/pdf.sandbox.js files from accidentally including most of the main-thread code (PR 12631 follow-up) 2020-12-04 14:17:26 +01:00
util.js Remove the, strictly unnecessary, closure and variable shadowing from createObjectURL 2021-02-25 16:34:23 +01:00