mirror of
https://github.com/status-im/status-mobile.git
synced 2025-02-14 17:47:18 +00:00
make lint
This commit is contained in:
parent
66efa1ef36
commit
968d64cb2a
@ -65,7 +65,8 @@
|
|||||||
(when-not (= json "undefined")
|
(when-not (= json "undefined")
|
||||||
(try (.parse js/JSON json) (catch js/Error _ (when (string? json) json)))))
|
(try (.parse js/JSON json) (catch js/Error _ (when (string? json) json)))))
|
||||||
|
|
||||||
(defn map-array [f coll]
|
(defn map-array
|
||||||
|
[f coll]
|
||||||
(let [js-array ^js (array)]
|
(let [js-array ^js (array)]
|
||||||
(doseq [e coll]
|
(doseq [e coll]
|
||||||
(.push js-array (f e)))
|
(.push js-array (f e)))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user