diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2019-11-15 09:27:50 +0800 |
---|---|---|
committer | techknowlogick <techknowlogick@gitea.io> | 2019-11-14 20:27:50 -0500 |
commit | 42ada741e3360b14ede8772aa1a2dd3e83209033 (patch) | |
tree | 1091690dd254f71887ffc2ad00ff2839ebcd33c4 /templates | |
parent | 06a8504c784fe404bcae92028515add816383729 (diff) | |
download | gitea-42ada741e3360b14ede8772aa1a2dd3e83209033.tar.gz gitea-42ada741e3360b14ede8772aa1a2dd3e83209033.zip |
Pack web_src/js/draw.js to public/js/index.js (#8975)
* pack web_src/js/draw.js to public/js/index.js
* fix eslint
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 f777b0e6f5..93cf941673 100644 --- a/templates/base/footer.tmpl +++ b/templates/base/footer.tmpl @@ -26,7 +26,6 @@ {{if .RequireGitGraph}} <!-- graph --> <script src="{{StaticUrlPrefix}}/vendor/plugins/gitgraph/gitgraph.js"></script> - <script src="{{StaticUrlPrefix}}/js/draw.js"></script> {{end}} <!-- Third-party libraries --> diff --git a/templates/pwa/serviceworker_js.tmpl b/templates/pwa/serviceworker_js.tmpl index 113e76dfbe..672e504ff3 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/semantic.dropdown.custom.js?v={{MD5 AppVer}}', - '{{StaticUrlPrefix}}/js/draw.js', '{{StaticUrlPrefix}}/vendor/plugins/clipboard/clipboard.min.js', '{{StaticUrlPrefix}}/vendor/plugins/gitgraph/gitgraph.js', '{{StaticUrlPrefix}}/vendor/plugins/vue/vue.min.js', |