You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
1 week ago
..
components Use `git diff-tree` for `DiffFileTree` on diff pages (#33514) 2 weeks ago
features Refactor markup and pdf-viewer to use new init framework (#33772) 1 week ago
markup Refactor markup and pdf-viewer to use new init framework (#33772) 1 week ago
modules Refactor markup and pdf-viewer to use new init framework (#33772) 1 week ago
render Refactor markup and pdf-viewer to use new init framework (#33772) 1 week ago
standalone Enable Typescript `noImplicitAny` (#33322) 2 months ago
utils Refactor global init code and add more comments (#33755) 2 weeks ago
vendor Fix areYouSure confirm (#32941) 3 months ago
webcomponents Enable Typescript `noImplicitAny` (#33322) 2 months ago
bootstrap.test.ts Convert frontend code to typescript (#31559) 8 months ago
bootstrap.ts Add types to fetch,toast,bootstrap,svg (#31627) 8 months ago
globals.d.ts Refactor repo-new.ts (#33070) 2 months ago
globals.ts Convert frontend code to typescript (#31559) 8 months ago
htmx.ts Enable Typescript `strictFunctionTypes` (#32911) 3 months ago
index.ts Refactor markup and pdf-viewer to use new init framework (#33772) 1 week ago
svg.test.ts Remove "class-name" from svg icon (#33540) 1 month ago
svg.ts Remove "class-name" from svg icon (#33540) 1 month ago
types.ts Enable Typescript `noImplicitAny` (#33322) 2 months ago
utils.test.ts Use `git diff-tree` for `DiffFileTree` on diff pages (#33514) 2 weeks ago
utils.ts Use `git diff-tree` for `DiffFileTree` on diff pages (#33514) 2 weeks ago
vitest.setup.ts Fix a number of Typescript issues (#31877) 7 months ago