mirror of
https://github.com/status-im/re-frame.git
synced 2025-02-23 07:18:22 +00:00
Fix re-frame.interop/now for nodejs
This commit is contained in:
parent
c4e59880cc
commit
3b960ea5e9
@ -38,7 +38,9 @@
|
||||
(js/setTimeout f ms))
|
||||
|
||||
(defn now []
|
||||
(if (exists? js/performance.now)
|
||||
(if (and
|
||||
(exists? js/performance)
|
||||
(exists? js/performance.now))
|
||||
(js/performance.now)
|
||||
(js/Date.now)))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user