diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-09-19 18:41:13 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-19 18:41:13 -0400 |
commit | 4293f731537906785da3b1f20535ddd18a4edd21 (patch) | |
tree | 2997cd84a6349829b3b3ea490baa268972c99d7d /ext/mixed/js/timer.js | |
parent | a2e6de84af6a304cf586759fe8a0d50d4d94785e (diff) |
Remove window from performance object access (#845)
Diffstat (limited to 'ext/mixed/js/timer.js')
-rw-r--r-- | ext/mixed/js/timer.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mixed/js/timer.js b/ext/mixed/js/timer.js index 4fb9dbd1..451aa0df 100644 --- a/ext/mixed/js/timer.js +++ b/ext/mixed/js/timer.js @@ -31,7 +31,7 @@ class Timer { } sample(name) { - const time = window.performance.now(); + const time = performance.now(); this.samples.push({ name, time, |