1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 07:08:08 +02:00
pdf.js/src
Jonas Jenwald d60ce998f1 Attempt to simplify the fileattachmentannotation event dispatching
This attempts to reduced the level of indirection, and the amount of code, when dispatching `fileattachmentannotation` events, by removing the `PDFLinkService.onFileAttachmentAnnotation` method and just accessing `PDFLinkService.eventBus` directly in the `FileAttachmentAnnotationElement` constructor.
Given that other properties, such as `externalLinkTarget`/`externalLinkRel`, are already being accessed directly this pattern seems fine here as well.
2018-10-01 15:09:08 +02:00
..
core Replace String.prototype.substr() occurrences with String.prototype.substring() 2018-09-28 11:41:07 +02:00
display Attempt to simplify the fileattachmentannotation event dispatching 2018-10-01 15:09:08 +02:00
images Vectorize the logo. 2012-10-29 14:08:52 -04:00
shared Use the const keyword for constants in src/shared/util.js 2018-09-11 16:17:45 +02:00
doc_helper.js [api-major] Completely remove the global PDFJS object 2018-03-01 18:13:27 +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 [api-minor] Remove the obsolete createBlob helper function 2018-08-19 13:37:19 +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