1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-05 10:07:22 +00:00

Move some JS code from fomantic.js to standalone files (#27994)

To improve maintainability, this PR: 

1. Rename `web_src/js/modules/aria` to `web_src/js/modules/fomantic`
(the code there are all for aria of fomantic)
2. Move api/transition related code to
`web_src/js/modules/fomantic/api.js` and
`web_src/js/modules/fomantic/transition.js`

No logic is changed.
This commit is contained in:
wxiaoguang
2023-11-12 15:15:00 +08:00
committed by GitHub
parent 61ff91f960
commit f860fe31d9
8 changed files with 100 additions and 93 deletions

View File

@ -0,0 +1,5 @@
let ariaIdCounter = 0;
export function generateAriaId() {
return `_aria_auto_id_${ariaIdCounter++}`;
}