diff options
author | silverwind <me@silverwind.io> | 2019-11-22 00:30:14 +0100 |
---|---|---|
committer | techknowlogick <techknowlogick@gitea.io> | 2019-11-21 18:30:14 -0500 |
commit | 7bc8c6b1805546ee942a07680633fe57e8e45ef6 (patch) | |
tree | 67706da403199a0aff362d99aa199b281677debc /templates | |
parent | f0aaffeedccaa7b338af6cf72cef77895513c9f1 (diff) | |
download | gitea-7bc8c6b1805546ee942a07680633fe57e8e45ef6.tar.gz gitea-7bc8c6b1805546ee942a07680633fe57e8e45ef6.zip |
move semantic.dropdown.custom.js to webpack (#9064)
* move semantic.dropdown.custom.js to webpack
Also disabled a annoying linter rule which insisted that imports can not
contain a file extension.
Fixes: https://github.com/go-gitea/gitea/issues/8971
* reorganize web_src files and rebuild
* restart ci
Diffstat (limited to 'templates')
-rw-r--r-- | templates/base/footer.tmpl | 1 | ||||
-rw-r--r-- | templates/pwa/serviceworker_js.tmpl | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/templates/base/footer.tmpl b/templates/base/footer.tmpl index 0c07fb6e70..8ecd53557f 100644 --- a/templates/base/footer.tmpl +++ b/templates/base/footer.tmpl @@ -118,7 +118,6 @@ <!-- JavaScript --> <script src="{{StaticUrlPrefix}}/vendor/plugins/semantic/semantic.min.js"></script> - <script src="{{StaticUrlPrefix}}/js/semantic.dropdown.custom.js?v={{MD5 AppVer}}"></script> <script src="{{StaticUrlPrefix}}/js/index.js?v={{MD5 AppVer}}"></script> {{if .EnableHeatmap}} <script src="{{StaticUrlPrefix}}/vendor/plugins/moment/moment.min.js" charset="utf-8"></script> diff --git a/templates/pwa/serviceworker_js.tmpl b/templates/pwa/serviceworker_js.tmpl index 59f3be4131..1c30a58634 100644 --- a/templates/pwa/serviceworker_js.tmpl +++ b/templates/pwa/serviceworker_js.tmpl @@ -7,7 +7,6 @@ var urlsToCache = [ '{{StaticUrlPrefix}}/vendor/plugins/semantic/semantic.min.js', '{{StaticUrlPrefix}}/js/index.js?v={{MD5 AppVer}}', '{{StaticUrlPrefix}}/js/gitgraph.js?v={{MD5 AppVer}}', - '{{StaticUrlPrefix}}/js/semantic.dropdown.custom.js?v={{MD5 AppVer}}', '{{StaticUrlPrefix}}/vendor/plugins/clipboard/clipboard.min.js', '{{StaticUrlPrefix}}/vendor/plugins/vue/vue.min.js', '{{StaticUrlPrefix}}/vendor/plugins/emojify/emojify.custom.js', |