This repository was archived by the owner on Sep 5, 2024. It is now read-only.
Commit 1b9245a
fix(util): check for definition of window.performance.now before using in mdUtil (#9664)
The previous behavior assumes the existence of the now() function in browsers that provide the
window.performance API. This change verifies it is available and if not, uses existing fallbacks.1 parent a73ab43 commit 1b9245a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
0 commit comments