aboutsummaryrefslogtreecommitdiff
path: root/ext/mixed
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-09-19 18:41:13 -0400
committerGitHub <noreply@github.com>2020-09-19 18:41:13 -0400
commit4293f731537906785da3b1f20535ddd18a4edd21 (patch)
tree2997cd84a6349829b3b3ea490baa268972c99d7d /ext/mixed
parenta2e6de84af6a304cf586759fe8a0d50d4d94785e (diff)
Remove window from performance object access (#845)
Diffstat (limited to 'ext/mixed')
-rw-r--r--ext/mixed/js/timer.js2
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,