diff options
Diffstat (limited to 'editor/scripts/benchmark.js')
| -rw-r--r-- | editor/scripts/benchmark.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/editor/scripts/benchmark.js b/editor/scripts/benchmark.js index f1b75d0..28b906c 100644 --- a/editor/scripts/benchmark.js +++ b/editor/scripts/benchmark.js @@ -44,7 +44,6 @@ function Benchmark () { } const perc = (score / (this.matches().length * 5)) * 100 - const cat = errors > 0 ? 'fix errors' : perc === 100 ? 'perfect' : perc > 80 ? 'good' : perc > 75 ? 'average' : 'bad' document.getElementById('score').innerHTML = `<span style='color:var(--f_high)'>${cat}</span> ${score}/${this.matches().length * 5} <span style='color:var(--f_low)'>${perc.toFixed(1)}%</span>` |
