Review comment: add comment about cljify.
This commit is contained in:
parent
61757e271c
commit
021f2be620
1 changed files with 3 additions and 0 deletions
|
@ -5,6 +5,9 @@
|
||||||
but successfully passes Clojure Records through. This allows JS API
|
but successfully passes Clojure Records through. This allows JS API
|
||||||
callers to round-trip values they receive from ClojureScript APIs."
|
callers to round-trip values they receive from ClojureScript APIs."
|
||||||
[x]
|
[x]
|
||||||
|
;; This implementation is almost identical to js->clj, but it allows
|
||||||
|
;; us to hook into the recursion into sequences and objects, and it
|
||||||
|
;; passes through records.
|
||||||
(if (record? x)
|
(if (record? x)
|
||||||
x
|
x
|
||||||
(cond
|
(cond
|
||||||
|
|
Loading…
Reference in a new issue