From afe50873a5d6b52177b0cd6bc9d2657faf82f311 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Wed, 13 Nov 2019 22:52:13 +0800 Subject: 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 --- templates/base/footer.tmpl | 2 +- templates/repo/diff/comment_form.tmpl | 2 +- templates/repo/issue/view_content/sidebar.tmpl | 16 ++++++++-------- templates/user/auth/signin_inner.tmpl | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) (limited to 'templates') 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 @@ {{end}} {{template "custom/footer" .}} diff --git a/templates/repo/diff/comment_form.tmpl b/templates/repo/diff/comment_form.tmpl index 38fd3fa7fb..573e7d4638 100644 --- a/templates/repo/diff/comment_form.tmpl +++ b/templates/repo/diff/comment_form.tmpl @@ -39,7 +39,7 @@ {{end}} {{end}} {{if or (not $.HasComments) $.hidden}} - + {{end}} diff --git a/templates/repo/issue/view_content/sidebar.tmpl b/templates/repo/issue/view_content/sidebar.tmpl index 637d4ad04a..5a812d4fbf 100644 --- a/templates/repo/issue/view_content/sidebar.tmpl +++ b/templates/repo/issue/view_content/sidebar.tmpl @@ -155,8 +155,8 @@ {{if $.IsStopwatchRunning}}
- - + +
{{else}} {{if .HasUserStopwatch}} @@ -165,8 +165,8 @@ {{end}}
- - + +