mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-12-03 21:18:27 +08:00
Update JS deps (#35978)
Update JS deps, regenerate SVGs, fixed lint issues and did cursory testing of UI.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
export class InitPerformanceTracer {
|
||||
results: {name: string, dur: number}[] = [];
|
||||
recordCall(name: string, func: ()=>void) {
|
||||
recordCall(name: string, func: () => void) {
|
||||
const start = performance.now();
|
||||
func();
|
||||
this.results.push({name, dur: performance.now() - start});
|
||||
|
||||
Reference in New Issue
Block a user