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