mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Drop fomantic build (#33845)
We would never update or build fomantic again, we have forked it as a private library long time ago. So just put the JS and CSS files in "fomantic/build" into git. And use "import" to use them. Remove "form.js", rewrite "tab" component. All source code is from official Fomantic UI build. Will apply patches in separate PRs.
This commit is contained in:
10
web_src/fomantic/build/fomantic.js
Normal file
10
web_src/fomantic/build/fomantic.js
Normal file
@@ -0,0 +1,10 @@
|
||||
import './components/api.js';
|
||||
import './components/dropdown.js';
|
||||
import './components/modal.js';
|
||||
import './components/search.js';
|
||||
|
||||
// Hard forked from Fomantic 2.8.7
|
||||
|
||||
// TODO: need to apply the patch from Makefile
|
||||
// # fomantic uses "touchstart" as click event for some browsers, it's not ideal, so we force fomantic to always use "click" as click event
|
||||
// $(SED_INPLACE) -e 's/clickEvent[ \t]*=/clickEvent = "click", unstableClickEvent =/g' $(FOMANTIC_WORK_DIR)/build/semantic.js
|
Reference in New Issue
Block a user