Skip to content
This repository was archived by the owner on Dec 21, 2019. It is now read-only.

Conversation

@kentaromiura
Copy link
Contributor

rAF passes a DOMHighResTimeStamp (Performance.now()) or a DOMTimeStamp
(Date.now()) if the prefixed version is used,
since Performance.now() is not available, either using Date.now() or
+new Date() should be enough, last one is known to work in any
browser/server, so seems the best choice here even if it may be slower

rAF passes a DOMHighResTimeStamp (Performance.now()) or a DOMTimeStamp
(Date.now()) if the prefixed version is used,
since Performance.now() is not available, either using Date.now() or
+new Date() should be enough, last one is known to work in any
browser/server, so seems the best choice here even if it may be slower
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant