mirror of https://github.com/go-gitea/gitea.git
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.
Follow up #33748 Now there are 3 "global" functions: * registerGlobalSelectorFunc: for all elements matching the selector, eg: `.ui.dropdown` * registerGlobalInitFunc: for `data-global-init="initInputAutoFocusEnd"` * registerGlobalEventFunc: for `data-global-click="onCommentReactionButtonClick"` And introduce `initGlobalInput` to replace old `initAutoFocusEnd` and `attachDirAuto`, use `data-global-init` to replace fragile `.js-autofocus-end` selector. Another benefit is that by the new approach, no matter how many times `registerGlobalInitFunc` is called, we only need to do one "querySelectorAll" in the last step, it could slightly improve the performance. |
2 weeks ago | |
---|---|---|
.. | ||
asciicast | 2 months ago | |
common | 3 months ago | |
console | 3 weeks ago | |
csv | 3 weeks ago | |
external | 4 months ago | |
internal | 2 months ago | |
markdown | 3 weeks ago | |
mdstripper | 4 months ago | |
orgmode | 2 months ago | |
camo.go | 6 months ago | |
camo_test.go | 6 months ago | |
html.go | 1 month ago | |
html_codepreview.go | 4 months ago | |
html_codepreview_test.go | 4 months ago | |
html_commit.go | 3 months ago | |
html_email.go | 4 months ago | |
html_emoji.go | 4 months ago | |
html_internal_test.go | 3 months ago | |
html_issue.go | 3 months ago | |
html_issue_test.go | 3 months ago | |
html_link.go | 3 months ago | |
html_mention.go | 4 months ago | |
html_node.go | 4 months ago | |
html_test.go | 3 weeks ago | |
main_test.go | 4 months ago | |
render.go | 2 months ago | |
render_helper.go | 3 months ago | |
render_link.go | 4 months ago | |
render_link_test.go | 3 weeks ago | |
renderer.go | 4 months ago | |
renderer_test.go | 2 years ago | |
sanitizer.go | 10 months ago | |
sanitizer_custom.go | 4 months ago | |
sanitizer_default.go | 2 months ago | |
sanitizer_default_test.go | 2 weeks ago | |
sanitizer_description.go | 10 months ago | |
sanitizer_description_test.go | 10 months ago |