mirror of
https://github.com/go-gitea/gitea.git
synced 2025-04-26 11:28:45 +03:00

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.
11 lines
481 B
JavaScript
11 lines
481 B
JavaScript
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
|