gitea/web_src/js
Kerwin Bryant f0f1737d4d
Refactor markup and pdf-viewer to use new init framework (#33772)
1. Add some "render-content" classes to "markup" elements when the
content is rendered
2. Use correct "markup" wrapper for "preview" (but not set that class on
the tab)
3. Remove incorrect "markup" class from LFS file view, because there is
no markup content
    * "edit-diff" is also removed because it does nothing
5. Use "initPdfViewer" for PDF viewer
6. Remove incorrect "content" class from milestone markup
7. Init all ".markup" elements by new init framework

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-03-03 11:49:15 -08:00
..
components Use git diff-tree for DiffFileTree on diff pages (#33514) 2025-02-28 00:58:25 +00:00
features Refactor markup and pdf-viewer to use new init framework (#33772) 2025-03-03 11:49:15 -08:00
markup Refactor markup and pdf-viewer to use new init framework (#33772) 2025-03-03 11:49:15 -08:00
modules Refactor markup and pdf-viewer to use new init framework (#33772) 2025-03-03 11:49:15 -08:00
render Refactor markup and pdf-viewer to use new init framework (#33772) 2025-03-03 11:49:15 -08:00
standalone Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
utils Refactor global init code and add more comments (#33755) 2025-03-03 10:57:28 +08:00
vendor Fix areYouSure confirm (#32941) 2024-12-21 12:11:22 -05:00
webcomponents Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
bootstrap.test.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
bootstrap.ts Add types to fetch,toast,bootstrap,svg (#31627) 2024-07-25 23:31:24 +00:00
globals.d.ts Refactor repo-new.ts (#33070) 2025-01-01 17:21:13 +00:00
globals.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
htmx.ts Enable Typescript strictFunctionTypes (#32911) 2024-12-22 02:59:25 +08:00
index.ts Refactor markup and pdf-viewer to use new init framework (#33772) 2025-03-03 11:49:15 -08:00
svg.test.ts Remove "class-name" from svg icon (#33540) 2025-02-09 22:39:54 +02:00
svg.ts Remove "class-name" from svg icon (#33540) 2025-02-09 22:39:54 +02:00
types.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
utils.test.ts Use git diff-tree for DiffFileTree on diff pages (#33514) 2025-02-28 00:58:25 +00:00
utils.ts Use git diff-tree for DiffFileTree on diff pages (#33514) 2025-02-28 00:58:25 +00:00
vitest.setup.ts Fix a number of Typescript issues (#31877) 2024-08-28 18:32:38 +02:00