-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modularization and cleanup #41
base: main
Are you sure you want to change the base?
Conversation
Visit the preview URL for this PR (updated for commit 4824fac): https://polehammer-a740e--pr41-modularization-1sk98o44.web.app (expires Thu, 22 Jun 2023 19:00:04 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 13b24c1e1fbce843143b4a9fff97ac2e608dde1b |
|
||
var i = 1; | ||
this.headers.forEach(header => { | ||
let range = this.ranges.get(header)!; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [tsc] <6133> reported by reviewdog 🐶
'range' is declared but its value is never read.
|
||
cell.innerHTML = cellContent; | ||
cell.className = "border"; | ||
cell.style.backgroundColor = metricColor(data, unitStats.get(category)!); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [tsc] <2304> reported by reviewdog 🐶
Cannot find name 'unitStats'.
|
||
cell.innerHTML = cellContent; | ||
cell.className = "border"; | ||
cell.style.backgroundColor = metricColor(data, unitStats.get(category)!); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [tsc] <2304> reported by reviewdog 🐶
Cannot find name 'category'.
}); | ||
table.appendChild(row); | ||
}); | ||
tableElem.appendChild(table); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [tsc] <2663> reported by reviewdog 🐶
Cannot find name 'tableElem'. Did you mean the instance member 'this.tableElem'?
Start cleaning up the code