proton

https://github.com/dvcrn/proton
geksilla 2015-12-16T20:29:26.000336Z

hello everyone

geksilla 2015-12-16T20:33:12.000337Z

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"])

geksilla 2015-12-16T20:37:18.000338Z

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

dvcrn 2015-12-16T23:44:32.000340Z

@geksilla: vector of vector should be correct. Each vector is supposed to be a config fragment of key / value

dvcrn 2015-12-16T23:45:13.000341Z

not sure why you get that error though, hrrrmm