Skip to content

Commit eaa1559

Browse files
committed
Fixes tiny issues
1 parent 6f70adc commit eaa1559

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/jtk_dvlp/async.cljc

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139

140140
(def chain smap)
141141

142-
(defn- amap
142+
(defn amap
143143
"Applies async function `<f` on every item of seqs `xs`. All seqs of `xs` must have the same length. Returns vector of all results applying `<f`. Supports error handling.
144144
145145
Also see `smap`"

src/jtk_dvlp/async/interop/promise.cljc

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
(forward-error! e)))
4242

4343
:cljs
44-
(.then p put-val! forward-error!))
44+
(js-invoke p "then" put-val! forward-error!))
4545
c))
4646

4747
(def ^:private create-promise

0 commit comments

Comments
 (0)