mirror of
https://github.com/status-im/re-frame.git
synced 2025-02-23 15:28:09 +00:00
Merge pull request #439 from kommen/fix-interop-now-nodejs
Fix re-frame.interop/now for nodejs
This commit is contained in:
commit
12635f42ea
@ -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