18 Commits (b0f524e65c490374cd4003948cab2f3f6c463147)

Author SHA1 Message Date
Jonas Jenwald 9273350c6b Attempt to delay disabling of the attachment view until FileAttachment annotations of the *initial* page has been parsed 8 years ago
Jonas Jenwald 96fb0c0370 Call the `reset()` methods in the `PDFAttachmentViewer` and `PDFOutlineViewer` constructors 8 years ago
Jonas Jenwald 614e8cf295 Change `var` to `let`, and use object destructuring, in a couple of previously class converted `web/*.js` files 8 years ago
Yury Delendik 66c8893815 Removes last UMDs from the modules. 8 years ago
Jonas Jenwald f27b5013e2 Replace unnecessary `bind(this)` statements with arrow functions in `web/` files 8 years ago
Tim van der Meij 93520172f6
Convert the attachments/outline view to ES6 syntax 8 years ago
Jonas Jenwald 7bd8b97dba Change `PDFAttachmentViewer` to only open PDF attachments in the viewer, instead of downloading them, when `PDFJS.disableCreateObjectURL = false` 8 years ago
Yury Delendik 8e681ce3e2 Change amd to cjs path in ES6 modules 8 years ago
Jonas Jenwald b2c3f8f081 Convert a number of `import * as pdfjsLib from 'pdfjs-web/pdfjs';` cases to only specify the necessary imports 8 years ago
Jonas Jenwald 3b35c15d42 Convert the files in the `/web` folder to ES6 modules 8 years ago
Jonas Jenwald e07cb8638e Get rid of `element.removeChild(element.firstChild)` usage (bug 1345253) 8 years ago
Rob Wu f6548e463f Open PDF attachments in the viewer instead of download 8 years ago
Jonas Jenwald c102232275 Append the contents of `FileAttachment` annotations to the attachments view of the sidebar, for easier access to the embedded files 8 years ago
Yury Delendik 7fd3db9977 Adds EventBus. 9 years ago
Yury Delendik 4165cedc9f Replace pdfjsLib with module that represents pdf.js. 9 years ago
Yury Delendik 006e8fb59d Introduces UMD headers to the web/ folder. 9 years ago
Yury Delendik 1e3e14e6b2 Exposes all functional members via lib exports and use them in viewer. 9 years ago
Jonas Jenwald 21f048234d Refactor how `PDFOutlineView`/`PDFAttachmentView` is initialized in viewer.js, rename the classes, and refactor their `render` methods 9 years ago
Tim van der Meij 0351c7eff4 Move the `getFileName` helper function to the core 9 years ago
Jonas Jenwald 97c10e9c08 Strip `null` (\x00) characters from the URLs in LinkAnnotations (issue 6832) 9 years ago
Manas a2ba1b8189 Uses editorconfig to maintain consistent coding styles 10 years ago
Jonas Jenwald b7d1bed463 Add a utility function, for the viewer, that removes `null` (\x00) characters (issue 6416) 10 years ago
Jonas Jenwald 94cc731616 Add custom |outlineloaded| and |attachmentsloaded| events to the viewer (bug 1112947) 10 years ago
Tim van der Meij b72395d5ce Determine filename only once and reduce code for _bindLink 10 years ago
Tim van der Meij 818b7fc306 Add JSDoc comments to PDFAttachmentView 10 years ago
Tim van der Meij 4c6ca1c78f Remove DownloadManager dependency 10 years ago
Tim van der Meij 733882ac25 Refactor PDFAttachmentView to be more class-like and to separate functionality into methods 10 years ago
Tim van der Meij 609e2a30e9 Rename DocumentAttachmentsView to PDFAttachmentView 10 years ago
Tim van der Meij 2c19d99a2e Rename document_attachments_view.js to pdf_attachment_view.js 10 years ago
Yury Delendik 44779f14b0 Renames and refactors PDFView to PDFViewerApplication. 11 years ago
Tim van der Meij 9d6ffbb3bf Converts attachment items to buttons instead of links 11 years ago
Tim van der Meij 107cd8007f Move DocumentAttachmentsView to its own file 11 years ago