1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-05-11 05:55:29 +00:00

Update JS dependencies and eslint config (#21388)

- Update all JS dependencies and playwright image
- Add new eslint rules, enable a few more, fix issues
- Regenerate SVGs
- Tested Vue and Swagger

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
silverwind
2022-10-10 14:02:20 +02:00
committed by GitHub
parent a813c9d8f3
commit 7044d34ae5
10 changed files with 1437 additions and 1503 deletions

View File

@ -135,7 +135,7 @@ function updateStopwatchData(data) {
updateStopwatchTime(seconds);
btnEl.removeClass('hidden');
}
return !!data.length;
return Boolean(data.length);
}
let updateTimeIntervalId = null; // holds setInterval id when active