pdf.js/web
Tim van der Meij dd7ff7e662
Update the JSDoc comments for the new TypeScript version
This commit fixes the JSDoc comment for the `annotationEditorMode` setter.
The types tests fail on that now because the input value was changed from
a number to an object with various properties in recent patches, but the
JSDoc comment was not updated accordingly.

Moreover, the types tests also fail because TypeScript 5.3 assumes that
getters and setters have equal return and input value types, which is
arguably also what one would expect, but our `annotationEditorMode`
getter and setter deviate from that because the getter returns a number
while the setter accepts an object. Given that it seems more important
to document the setter entirely, including the meaning and types of its
properties, and the type of the getter can easily be inferred from this
comment and the other JSDoc comments that have `annotationEditorMode` in
it, we remove the getter type to make the types tests pass again.
2023-11-25 19:34:44 +01:00
..
images Re-factor the loading-icons used in the viewer toolbars 2023-11-21 13:55:36 +01:00
.gitignore Remove obselete file from .gitignore 2015-01-26 16:44:45 +01:00
alt_text_manager.js [Editor] Don't show the alt-text button when the alt-text dialog is visible 2023-10-02 20:34:30 +02:00
annotation_editor_layer_builder.css [Editor] Make the alt-text button large enough to display correctly whatever string 2023-11-20 13:22:02 +01:00
annotation_editor_layer_builder.js Only bundle NullL10n in GENERIC builds (bug 1859818) 2023-10-19 13:51:00 +02:00
annotation_editor_params.js [Editor] Add a button to explicitly add an image (bug 1848108) 2023-08-11 15:05:46 +02:00
annotation_layer_builder.css Fix typo in the --hcm-highlight-filter CSS variable name (issue 17254) 2023-11-13 11:18:35 +01:00
annotation_layer_builder.js [api-minor] Use "data-l10n-id"/"data-l10n-args", rather than manually updating DOM-elements, to trigger translation (PR 17146 follow-up) 2023-10-22 14:17:47 +02:00
app_options.js Update the code style for the new Prettier version 2023-11-25 18:15:09 +01:00
app.js Restore the option to set light/dark mode for chromium and generic builds 2023-11-18 21:32:25 +01:00
base_tree_viewer.js Also pause translation when expanding the current outline-item (PR 17176 follow-up) 2023-11-03 13:26:36 +01:00
chrome-i18n-allow-access-to-file-urls.json Add translations of "Allow access to file URLs" 2015-08-14 18:59:55 +02:00
chromecom.js [Firefox] Fetch browser preferences/options together with the viewer preferences (bug 1862192) 2023-10-31 15:32:01 +01:00
compressed.tracemonkey-pldi-09.pdf Add Makefile. Move some files around to make building the website easier. 2011-07-05 10:53:57 -07:00
debugger.css Remove unnecessary alpha-value from CSS rgb colors 2023-10-06 09:50:03 +02:00
debugger.mjs [Debugger] Add some info about substitution font 2023-10-09 12:06:33 +02:00
download_manager.js Re-factor the blob-URL caching in DownloadManager.openOrDownloadData 2023-10-17 10:18:34 +02:00
draw_layer_builder.css [Editor] Add a way to extract the outlines of a union of rectangles 2023-11-20 18:45:19 +01:00
draw_layer_builder.js [Editor] Add a way to extract the outlines of a union of rectangles 2023-11-20 18:45:19 +01:00
event_utils.js Don't use the deprecated CustomEvent.initCustomEvent method anymore 2023-04-23 15:41:02 +02:00
firefox_print_service.js Convert FirefoxPrintService and PDFPrintService into standard classes 2023-04-14 10:02:28 +02:00
firefoxcom.js [Firefox] Fetch browser preferences/options together with the viewer preferences (bug 1862192) 2023-10-31 15:32:01 +01:00
generic_scripting.js Update the ESLint globals list (PR 17055 follow-up) 2023-10-15 11:38:10 +02:00
genericcom.js Re-factor the L10n-implementations to use lowercase language-codes internally 2023-11-13 21:06:03 +01:00
genericl10n.js Merge pull request #17277 from Snuffleupagus/L10n-fetchData 2023-11-14 16:09:05 +01:00
grab_to_pan.js Remove a couple of unused options from the GrabToPan constructor 2023-06-29 13:16:10 +02:00
interfaces.js Pause translation when appending the outline/attachment/layer trees to the sidebar 2023-10-25 17:38:02 +02:00
l10n_utils.js Use the fetchData helper function in more cases 2023-11-24 13:05:57 +01:00
l10n.js Re-factor the L10n-implementations to use lowercase language-codes internally 2023-11-13 21:06:03 +01:00
overlay_manager.js Remove the OverlayManager.unregister method since it's completely unused 2023-06-21 13:13:53 +02:00
password_prompt.js [api-minor] Use "data-l10n-id"/"data-l10n-args", rather than manually updating DOM-elements, to trigger translation (PR 17146 follow-up) 2023-10-22 14:17:47 +02:00
pdf_attachment_viewer.js Re-factor the blob-URL caching in DownloadManager.openOrDownloadData 2023-10-17 10:18:34 +02:00
pdf_cursor_tools.js Create a GrabToPan-instance lazily in the PDFCursorTools class 2023-06-28 12:43:36 +02:00
pdf_document_properties.js Re-factor the L10n-implementations to use lowercase language-codes internally 2023-11-13 21:06:03 +01:00
pdf_find_bar.js Tweak the matchCount l10n-args handling slightly (PR 17146 follow-up) 2023-10-24 13:17:02 +02:00
pdf_find_controller.js [api-major] Remove various deprecated functionality and options 2023-09-23 17:44:09 +02:00
pdf_find_utils.js [api-minor] Don't normalize the text used in the text layer. 2023-04-17 14:31:23 +02:00
pdf_history.js Tweak the pdfOpenParams parameter, in the "updateviewarea" event, in PresentationMode 2022-04-05 14:13:20 +02:00
pdf_layer_viewer.js Pause translation when appending the outline/attachment/layer trees to the sidebar 2023-10-25 17:38:02 +02:00
pdf_link_service.js Stop using removeNullCharacters in the addLinkAttributes helper function 2023-08-31 20:10:50 +02:00
pdf_outline_viewer.js Re-factor the blob-URL caching in DownloadManager.openOrDownloadData 2023-10-17 10:18:34 +02:00
pdf_page_view.js Fix typo in the --hcm-highlight-filter CSS variable name (issue 17254) 2023-11-13 11:18:35 +01:00
pdf_presentation_mode.js Re-enable editing, if necessary, when exiting PresentationMode (PR 16659 follow-up) 2023-07-11 22:34:20 +02:00
pdf_print_service.js [api-minor] Use "data-l10n-id"/"data-l10n-args", rather than manually updating DOM-elements, to trigger translation (PR 17146 follow-up) 2023-10-22 14:17:47 +02:00
pdf_rendering_queue.js Limit some PDFRenderingQueue-related code to the GENERIC viewer 2023-05-30 21:24:19 +02:00
pdf_scripting_manager.component.js Re-factor the PDFScriptingManager-class for the viewer-components 2023-07-16 08:51:46 +02:00
pdf_scripting_manager.js Make sure WillPrint ran before starting printing 2023-07-30 12:38:46 +02:00
pdf_sidebar.js [api-minor] Use "data-l10n-id"/"data-l10n-args", rather than manually updating DOM-elements, to trigger translation (PR 17146 follow-up) 2023-10-22 14:17:47 +02:00
pdf_single_page_viewer.js Remove the abstract BaseViewer-class 2022-09-08 12:38:17 +02:00
pdf_thumbnail_view.js [api-minor] Use "data-l10n-id"/"data-l10n-args", rather than manually updating DOM-elements, to trigger translation (PR 17146 follow-up) 2023-10-22 14:17:47 +02:00
pdf_thumbnail_viewer.js [api-minor] Use "data-l10n-id"/"data-l10n-args", rather than manually updating DOM-elements, to trigger translation (PR 17146 follow-up) 2023-10-22 14:17:47 +02:00
pdf_viewer.component.js Re-factor the PDFScriptingManager-class for the viewer-components 2023-07-16 08:51:46 +02:00
pdf_viewer.css Remove unnecessary alpha-value from CSS rgb colors 2023-10-06 09:50:03 +02:00
pdf_viewer.js Update the JSDoc comments for the new TypeScript version 2023-11-25 19:34:44 +01:00
pdfjs.js [Editor] Add a way to extract the outlines of a union of rectangles 2023-11-20 18:45:19 +01:00
preferences.js [Firefox] Fetch browser preferences/options together with the viewer preferences (bug 1862192) 2023-10-31 15:32:01 +01:00
print_utils.js Handle appending consistently in the xfaLayer regardless of rendering intent (PR 17177 follow-up) 2023-10-26 12:05:33 +02:00
secondary_toolbar.js Use the new "reporttelemetry" event in more viewer components 2023-09-20 20:18:10 +02:00
struct_tree_layer_builder.js Ignore null-chars when using structTree-data in the viewer 2023-08-31 16:29:10 +02:00
stubs-geckoview.js [GeckoView] Avoid bundling the AltTextManager class, since it's unused 2023-09-21 12:51:34 +02:00
stubs.js Only bundle NullL10n in GENERIC builds (bug 1859818) 2023-10-19 13:51:00 +02:00
text_accessibility.js [Editor] Add the parent tag id (if any) to the serialized editors (bug 1845087) 2023-09-07 18:22:33 +02:00
text_highlighter.js [api-minor] Don't normalize the text used in the text layer. 2023-04-17 14:31:23 +02:00
text_layer_builder.css Use CSS nesting in the textLayer 2023-10-27 17:38:01 +02:00
text_layer_builder.js Pause translation when appending the textLayer and structTreeLayer to the page 2023-10-27 16:55:46 +02:00
toolbar-geckoview.js [api-minor] Use "data-l10n-id"/"data-l10n-args", rather than manually updating DOM-elements, to trigger translation (PR 17146 follow-up) 2023-10-22 14:17:47 +02:00
toolbar.js Re-factor the loading-icons used in the viewer toolbars 2023-11-21 13:55:36 +01:00
ui_utils.js Slightly improve the performance of removeNullCharacters 2023-10-25 10:11:14 +02:00
view_history.js Add a bit more validation in the ViewHistory constructor 2020-03-21 13:55:06 +01:00
viewer-geckoview.css Remove unnecessary alpha-value from CSS rgb colors 2023-10-06 09:50:03 +02:00
viewer-geckoview.html [api-minor] Re-factor NullL10n and remove the hard-coded l10n strings (PR 17115 follow-up) 2023-10-20 21:49:33 +02:00
viewer-geckoview.js [GeckoView] Bundle the Firefox printing code in the viewer (bug 1810111) 2023-07-28 14:10:40 +02:00
viewer-snippet-chrome-extension.html [api-minor] Move to Fluent for the localization (bug 1858715) 2023-10-19 11:20:41 +02:00
viewer-snippet-chrome-overlays.html Convert the existing overlays to use <dialog> elements (issue 14698) 2022-03-28 11:36:29 +02:00
viewer-snippet-firefox-extension.html [api-major] Output JavaScript modules in the builds (issue 10317) 2023-10-07 09:31:08 +02:00
viewer-snippet.html [api-minor] Move to Fluent for the localization (bug 1858715) 2023-10-19 11:20:41 +02:00
viewer.css Move the editor-buttons in the main toolbar 2023-11-22 13:04:05 +01:00
viewer.html Move the editor-buttons in the main toolbar 2023-11-22 13:04:05 +01:00
viewer.js Remove the "Open file"-button from the main toolbar 2023-11-09 08:08:17 +01:00
xfa_layer_builder.css Remove unnecessary alpha-value from CSS rgb colors 2023-10-06 09:50:03 +02:00
xfa_layer_builder.js Handle appending consistently in the xfaLayer regardless of rendering intent (PR 17177 follow-up) 2023-10-26 12:05:33 +02:00