This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-09-30
Channels
- # ai (3)
- # beginners (86)
- # boot (3)
- # chestnut (1)
- # cider (29)
- # clara (2)
- # cljs-dev (18)
- # cljsrn (1)
- # clojure (104)
- # clojure-greece (3)
- # clojure-losangeles (1)
- # clojure-spec (2)
- # clojure-uk (1)
- # clojurescript (5)
- # core-async (5)
- # css (3)
- # emacs (3)
- # figwheel (7)
- # fulcro (60)
- # lein-figwheel (3)
- # luminus (4)
- # off-topic (7)
- # portkey (14)
- # reagent (12)
- # rum (1)
- # shadow-cljs (9)
can anyone help me with how do i write jquery function in cljs .single-item is a class of a div slick is a library $(".single-item").slick({ dots: true });
I like to use spec assertions during dev to help us understand when we’ve passed malformed data, etc. Asserts are great because we can just :elide-asserts for prod builds. However, it would be great if instead of throwing an exception, I could instead just log a warning. Is there any obvious way to do this while still taking advantage of :elide-asserts?
@uwo I guess you'll have to write your own assert
macro which e.g. looks at current :external-config
to decide between logging and throwing an exception