pdf.js/src
Jonas Jenwald a8fc306b6e Replace globalScope with the standard globalThis property instead
Please see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis and note that most (reasonably) modern browsers have supported this for a while now, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis#Browser_compatibility

Since ESLint doesn't support this new global yet, it was added to the `globals` list in the top-level configuration file to prevent issues.

Finally, for older browsers a polyfill was added in `ssrc/shared/compatibility.js`.
2019-12-08 20:19:02 +01:00
..
core Slightly simplify the XRef cache lookup in XRef.fetch 2019-11-30 22:41:53 +01:00
display Replace globalScope with the standard globalThis property instead 2019-12-08 20:19:02 +01:00
images Vectorize the logo. 2012-10-29 14:08:52 -04:00
shared Replace globalScope with the standard globalThis property instead 2019-12-08 20:19:02 +01:00
doc_helper.js [api-major] Completely remove the global PDFJS object 2018-03-01 18:13:27 +01:00
interfaces.js Consistently use @type for getter data types in JSDoc comments 2019-10-13 13:58:17 +02:00
license_header_libre.js Update the year in the license_header files 2019-02-24 00:35:42 +01:00
license_header.js Update the year in the license_header files 2019-02-24 00:35:42 +01:00
pdf.image_decoders.js Add a gulp image_decoders command to allow packaging/distributing the image decoders (i.e. jpg.js, jpx.js, jbig2.js) separately from the main PDF.js library 2018-06-16 17:56:54 +02:00
pdf.js Change isNodeJS from a function to a constant 2019-11-10 16:44:29 +01:00
pdf.worker.entry.js Rename the globals to shorter names. 2018-03-16 11:08:56 -07:00
pdf.worker.js Stop bundling the ReadableStream polyfill in MOZCENTRAL builds (PR 10470 follow-up) 2019-01-23 20:33:20 +01:00
worker_loader.js Moves global scope out of shared/util. 2017-08-22 18:20:52 -05:00