Fork me on GitHub
#clojurescript
<
2016-06-04
>
richiardiandrea00:06:42

Enjoyed this one, very inspiring 🙂

fasiha00:06:20

@pataprogramming: Not sure, but certainly a good question for #C073DKH9P ?

pataprogramming00:06:01

Certainly, now that I know it exists. Thanks, @fasiha.

mvaline00:06:40

hey everyone, looking for a test coverage and linting tool for clojurescript anyone know of anything? I use Cloverage and Eastwood respectively for clojure but neither do cljs.

debug12:06:28

"No protocol method IAssociative.-assoc defined for type object: [object Object]". What does that mean?

rohit12:06:14

@debug: i think you are trying to use assoc with a js object.

debug13:06:58

(register-handler
  :process-data
  validate-schema-mw
  (fn [db [_ value]]
    (js/console.warn (js->clj value))
    (assoc db :data (js->clj value))))
That's a re-frame handler, calling js->clj still does that, why?

debug13:06:40

@rohit: You're correct, I tried that in the repl, using a clojure vector works fine

debug13:06:56

But need to get things working with that handler

rohit13:06:35

@debug: that shouldn’t be happening. db should be a map.

debug13:06:58

Yes, db is a map

rohit13:06:39

@debug: sorry i got to run. best to ask in #C073DKH9P

debug13:06:02

Okay, thanks for pointing out the first thing

mfikes14:06:02

Upvote David’s “A Tool for Thought” entry on HN (on first page now around 7) 🙂

nwjsmith15:06:55

Don't read the comments though 😉

mfikes15:06:32

Perhaps the "Try it online” link on the main README.md could be revised to point at http://clojurescript.io at this point. (Compare the two experiences.)

richiardiandrea19:06:31

Totally agree with the above ;)

arohner22:06:31

why does figwheel only support :optimizations :none?

arohner22:06:52

I’d really like to make an :optimizations :whitespace build I can inject into arbitrary webpages

arohner22:06:17

huh, regular browser repl works just fine I guess