Skip to content

Commit 2982a12

Browse files
committed
* fix map arg order
1 parent 997da9e commit 2982a12

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/main/cljs/cljs/core.cljs

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1679,9 +1679,9 @@ reduces them without incurring seq initialization"
16791679
(aget arr i)
16801680
not-found)))
16811681

1682-
ISequential
1683-
IEquiv
1684-
(-equiv [coll other] (equiv-sequential coll other))
1682+
;ISequential
1683+
;IEquiv
1684+
;(-equiv [coll other] (equiv-sequential coll other))
16851685

16861686
IIterable
16871687
(-iterator [coll]
@@ -10529,9 +10529,10 @@ reduces them without incurring seq initialization"
1052910529
(do
1053010530
(-write writer "#js ")
1053110531
(print-map
10532-
(.map (fn [k]
10533-
(MapEntry. (cond-> k (some? (re-matches #"[A-Za-z_\*\+\?!\-'][\w\*\+\?!\-']*" k)) keyword) (unchecked-get obj k) nil))
10534-
(js-keys obj))
10532+
(.map
10533+
(js-keys obj)
10534+
(fn [k]
10535+
(MapEntry. (cond-> k (some? (re-matches #"[A-Za-z_\*\+\?!\-'][\w\*\+\?!\-']*" k)) keyword) (unchecked-get obj k) nil)))
1053510536
pr-writer writer opts))
1053610537

1053710538
(array? obj)

0 commit comments

Comments
 (0)