summaryrefslogtreecommitdiffstats
path: root/templates/base
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2019-11-13 22:52:13 +0800
committerAntoine GIRARD <sapk@users.noreply.github.com>2019-11-13 15:52:13 +0100
commitafe50873a5d6b52177b0cd6bc9d2657faf82f311 (patch)
tree0d9fb3ef4d4ba5739c52f2fcb38ad96263346f08 /templates/base
parent71395dffd0db0c53353e4b0cf0d687ece0032597 (diff)
downloadgitea-afe50873a5d6b52177b0cd6bc9d2657faf82f311.tar.gz
gitea-afe50873a5d6b52177b0cd6bc9d2657faf82f311.zip
Move index.js to web_src and use webpack to pack them (#8598)
* Move index.js to web_src and use webpack * Fix initHeatMap * update eslint and move webpack to devDependencies * update index.js * add eslint env node
Diffstat (limited to 'templates/base')
-rw-r--r--templates/base/footer.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/base/footer.tmpl b/templates/base/footer.tmpl
index bed8eea019..770fcf005e 100644
--- a/templates/base/footer.tmpl
+++ b/templates/base/footer.tmpl
@@ -129,7 +129,7 @@
<script src="{{StaticUrlPrefix}}/vendor/plugins/moment/moment.min.js" charset="utf-8"></script>
<script src="{{StaticUrlPrefix}}/vendor/plugins/vue-calendar-heatmap/vue-calendar-heatmap.browser.js" charset="utf-8"></script>
<script type="text/javascript">
- initHeatmap('user-heatmap', '{{.HeatmapUser}}');
+ window.initHeatmap('user-heatmap', '{{.HeatmapUser}}');
</script>
{{end}}
{{template "custom/footer" .}}