From: wxiaoguang Date: Thu, 18 Nov 2021 16:45:00 +0000 (+0800) Subject: Refactor repo-legacy.js, remove messy global variables. Fix errors. (#17646) X-Git-Tag: v1.16.0-rc1~339 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=55be5fe3399d18b7d2477519707aecf5f99f1de5;p=gitea.git Refactor repo-legacy.js, remove messy global variables. Fix errors. (#17646) Refactor repo-legacy.js, remove messy global variables. Fix errors. Fix an error in Sortable Fix a incorrect call assignMenuAttributes from the template --- diff --git a/README.md b/README.md index 5e7ef13907..90ff8f3a22 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ or if sqlite support is required: The `build` target is split into two sub-targets: - `make backend` which requires [Go 1.16](https://golang.org/dl/) or greater. -- `make frontend` which requires [Node.js 12.17](https://nodejs.org/en/download/) or greater and Internet connectivity to download npm dependencies. +- `make frontend` which requires [Node.js LTS](https://nodejs.org/en/download/) or greater and Internet connectivity to download npm dependencies. When building from the official source tarballs which include pre-built frontend files, the `frontend` target will not be triggered, making it possible to build without Node.js and Internet connectivity. diff --git a/templates/repo/diff/comment_form.tmpl b/templates/repo/diff/comment_form.tmpl index 9c02c9de15..cb7234b3b0 100644 --- a/templates/repo/diff/comment_form.tmpl +++ b/templates/repo/diff/comment_form.tmpl @@ -9,7 +9,7 @@ -