From 4293f731537906785da3b1f20535ddd18a4edd21 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sat, 19 Sep 2020 18:41:13 -0400 Subject: Remove window from performance object access (#845) --- ext/mixed/js/timer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/mixed') 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, -- cgit v1.2.3