1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00
pdf.js/src
Jonas Jenwald 24a688d6c6 Convert some usage of indexOf to startsWith/includes where applicable
In many cases in the code you don't actually care about the index itself, but rather just want to know if something exists in a String/Array or if a String starts in a particular way. With modern JavaScript functionality, it's thus possible to remove a number of existing `indexOf` cases.
2019-01-18 17:57:41 +01:00
..
core Convert some usage of indexOf to startsWith/includes where applicable 2019-01-18 17:57:41 +01:00
display When parsing Metadata, attempt to remove "junk" before the first tag (PR 10398 follow-up) 2019-01-16 12:44:27 +01:00
images Vectorize the logo. 2012-10-29 14:08:52 -04:00
shared Convert some usage of indexOf to startsWith/includes where applicable 2019-01-18 17:57:41 +01:00
doc_helper.js [api-major] Completely remove the global PDFJS object 2018-03-01 18:13:27 +01:00
interfaces.js Move the interface definitions out of src/core/worker.js and into their own file 2018-11-08 13:21:37 +01:00
license_header.js Update to the current year, i.e. 2018, in the bundle license headers 2018-08-28 23:46:56 +02:00
license_header_libre.js Update to the current year, i.e. 2018, in the bundle license headers 2018-08-28 23:46:56 +02: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 Export CMapCompressionType and PermissionFlag on the pdfjsLib object (issue 10148, PR 10033 follow-up) 2018-10-20 11:38:00 +02:00
pdf.worker.entry.js Rename the globals to shorter names. 2018-03-16 11:08:56 -07:00
pdf.worker.js Adds Streams API support for networking task of PDF.js project. 2017-07-28 02:32:30 +05:30
worker_loader.js Moves global scope out of shared/util. 2017-08-22 18:20:52 -05:00