From 5dfbf91ce3768715cdff463231634cf9a012e3da Mon Sep 17 00:00:00 2001 From: thednp Date: Fri, 12 Nov 2021 18:14:07 +0200 Subject: [PATCH] Update now.js --- src/util/now.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/now.js b/src/util/now.js index 307f682..25e3553 100644 --- a/src/util/now.js +++ b/src/util/now.js @@ -1,7 +1,7 @@ -let now; - // Include a performance.now polyfill. // source https://github.com/tweenjs/tween.js/blob/master/src/Now.ts +let now; + // In node.js, use process.hrtime. // eslint-disable-next-line // @ts-ignore