From e1ec0089a9e762ce43b3cc1289424c11186ff251 Mon Sep 17 00:00:00 2001 From: Milan Date: Wed, 10 Nov 2021 12:06:09 +0000 Subject: [PATCH] Fix typo in readme Arrow function was not seup properly --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f89aaa4..a75eaec 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ const meter = new FPSMeter({ // update.fps - FPS of last window (per defined calculatePerMs option) // update.avgfps - FPS average since start() }, - onStop: (reason) { + onStop: (reason) => { // reasons why FPSMeter can halt: // FPSMeter.stop() initiated by: user // FPSMeter.stop() initiated by: document visibilitychange event