This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-01-07
Channels
- # admin-announcements (69)
- # alda (8)
- # beginners (6)
- # boot (182)
- # cider (10)
- # cljs-dev (24)
- # cljsrn (17)
- # clojars (70)
- # clojure (142)
- # clojure-brasil (5)
- # clojure-czech (1)
- # clojure-poland (4)
- # clojure-russia (96)
- # clojurescript (115)
- # community-development (37)
- # component (6)
- # cursive (11)
- # datomic (32)
- # events (4)
- # funcool (6)
- # hoplon (17)
- # ldnclj (10)
- # lein-figwheel (24)
- # mount (12)
- # om (141)
- # onyx (7)
- # parinfer (48)
- # re-frame (24)
- # reagent (31)
@mitchelkuijpers: ah, so how do you use that fn?
@mudphone: like this:
(defn dropdown-body [positioning for & children]
(into [:ul.mdl-menu.mdl-js-menu.mdl-js-ripple-effect {:for for :class (str "mdl-menu--" positioning)}]
children))
(def dropdown (upgrade-element dropdown-body))
Hello I'm trying out https://github.com/bhauman/lein-figwheel#scripting-with-component and rlwrap lein run -m clojure.main --init script/figwheel.clj -r
says it cannot find my_proj/something__init.class
or my_proj/something.clj
on the classpath ... but what I really have is something.cljs
which defines a component in my system. What am I missing?
It was reloading files. But now I'd like it to close a unix socket server nicely on reload. Or something like
@fappy: read your question again something.cljs
shouldn't define a component in your system
The components in the doc you refered to are all in Clojure land and intended to setup Clojure server side services.
if you require something.cljs from clojure land that will definitely throw the error you are getting.
Oh. Stuart Sierra's component
cannot be used to reload server-side stuff that is cljs for node js ?
not sure what you are trying to do. but you can start and stop node, from a JVM based Component
My app is intended to be a purely server side app. It communicates with other server side things via unix sockets