mirror of
https://github.com/go-gitea/gitea.git
synced 2024-05-11 05:55:29 +00:00
convert all js var to let/const (#7464)
Most of the work was done by `eslint --fix`, I fixed around 10 cases where it could not auto-convert.
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
/* globals gitGraph */
|
||||
|
||||
$(document).ready(function () {
|
||||
var graphList = [];
|
||||
const graphList = [];
|
||||
|
||||
if (!document.getElementById('graph-canvas')) {
|
||||
return;
|
||||
|
Reference in New Issue
Block a user