This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-03-20
Channels
- # beginners (7)
- # boot (39)
- # braid-chat (3)
- # braveandtrue (1)
- # cider (27)
- # cljsjs (15)
- # cljsrn (6)
- # clojars (18)
- # clojure (307)
- # clojure-art (1)
- # clojure-brasil (1)
- # clojure-italy (2)
- # clojure-poland (3)
- # clojure-russia (61)
- # clojure-sdn (2)
- # clojure-taiwan (4)
- # clojure-uk (5)
- # clojurebridge (7)
- # clojurescript (19)
- # core-async (1)
- # core-matrix (1)
- # cursive (35)
- # datomic (3)
- # emacs (51)
- # euroclojure (3)
- # hoplon (20)
- # jobs (1)
- # keechma (1)
- # mount (3)
- # off-topic (2)
- # om (177)
- # onyx (96)
- # parinfer (4)
- # pedestal (4)
- # re-frame (19)
- # reagent (7)
- # untangled (5)
@seanirby: https://github.com/clojure/clojurescript/wiki/Quick-Start#running-clojurescript-on-nodejs
Hey guys
is there any way to force clojurescript compiler to always recompile a particular namespace?
I've seen :recompile-dependents
compiler option, but that's not exactly what I'm looking for
having a bit of trouble getting a handler to work with a POST in cljs-ajax - was hoping someone could help
and BTW, judging from docs it's on by default
I think I’m seeing a difference in behavior between clojure and clojurescript - trying (comp identity :key)
for both. works in clojure, throws an arity error in clojurescript
@maxov if you just evaluate (comp identity :key)
, you’ll get a javascript source code listing, which contains the text throw(new Error('Invalid arity: ' + arguments.length));
as one of the last statements.
@grav yeah, it looks like it works. I think I was using it an context where I thought the composed function was called with 1 arity, but it wasn't
Luminus gave me a project.clj with a structure like this:
:profiles
{:dev [:project/dev :profiles/dev]
:test [:project/test :profiles/test]
:project/dev { ... actual meaty stuff }
...remaining keys}
This works! But according to configleaf
, the final merged profile has (:builds (:cljsbuild project))
as a list, not a vector. This is fine under most circumstances... but doo
can't handle that. At a particular point in its plugin code, it says:
(cond
(map? builds) ; do useful stuff...
(vector? builds) ; do useful stuff...
:else (throw (Exception. ":cljsbuild :builds needs to be either a vector or a map")))
Has anyone else run into this? Is there a smarter way I should be setting up project.clj? Or should I just make a PR against doo
for it to cast builds
to a vec if possible?