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:
silverwind authored and Lunny Xiao committed 2019-07-16 09:51:46 +08:00
1 parent d2958d9f46
commit f34726a4b9
3 files changed
+275 -274

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
/* globals gitGraph */
$(document).ready(function () {
var graphList = [];
const graphList = [];
if (!document.getElementById('graph-canvas')) {
return;
+272 -273
View File
File diff suppressed because it is too large. Load diff