This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-12-16
Channels
- # admin-announcements (44)
- # adventofcode (2)
- # avi (1)
- # beginners (22)
- # boot (328)
- # cider (1)
- # cljs-dev (6)
- # cljsrn (29)
- # clojure (164)
- # clojure-chicago (1)
- # clojure-dev (7)
- # clojure-nl (5)
- # clojure-russia (73)
- # clojure-seattle (1)
- # clojure-turkiye (2)
- # clojured (1)
- # clojurescript (98)
- # core-async (6)
- # cursive (26)
- # datomic (9)
- # editors (5)
- # emacs (41)
- # events (3)
- # garden (2)
- # hoplon (125)
- # ldnclj (18)
- # om (178)
- # omnext (8)
- # onyx (5)
- # parinfer (1)
- # proton (5)
- # re-frame (20)
I was wondering if (defmethod get-initial-config) should return vector of vectors? Like
(defmethod get-initial-config :lang/javascript []
[["some.config" "value"]])
;; instead of
(defmethod get-initial-config :lang/javascript []
["some.config" "value"])
Because when I've passed vector of vectors I got error
Uncaught Error: No item 1 in vector of length 1
I've fixed that by changing conj
to concat
here https://github.com/dvcrn/proton/blob/master/src/cljs/proton/lib/proton.cljs#L35