This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-07-17
Channels
- # admin-announcements (22)
- # beginners (15)
- # boot (38)
- # cider (16)
- # clojure (68)
- # clojure-android (1)
- # clojure-berlin (27)
- # clojure-japan (7)
- # clojure-nl (7)
- # clojure-poland (2)
- # clojure-russia (164)
- # clojure-uk (2)
- # clojurescript (321)
- # datomic (42)
- # editors (45)
- # events (4)
- # indycljs (2)
- # jobs (7)
- # ldnclj (7)
- # liberator (4)
- # off-topic (29)
- # om (5)
- # onyx (8)
- # re-frame (6)
- # reagent (44)
- # slack-help (9)
hi, anybody knows how to configure the "speak" sound theme? From the code it appears there are 3 themes shipped with boot, but I don't see what the property that needs to be set in boot.properties
@arnaudsj: speak takes a :theme argument, e.g. boot speak -t woodblock
@arnaudsj: boot speak -h
gives more info
cool stuff - https://github.com/priyatam/replify
@meow: is this an option for boot-cljs-repl? looks nice!
@martinklepsch: That's the same question I had. I've got my head in the middle of a different project, but in a day or two I might look at this library to see how to combine it with boot. There are so many interesting things happening in the cljs repl space right now.
yes there are
@alandipert: thank you. That's the pointer I needed!
Maybe #C03S1L9DN is better or we even do a #cljsjs room?
doesn’t exist 😄
but it’s fine, just ask
so, I'm wondering what are the requirements for a foreign lib to be packaged with cljsjs, are they the same ones as for clojurescript?
yeah, I’d say so. Overall they’re meant for CLJS
then, when a foreign-lib itself has dependencies, and a custom (crazy?) js build process, is it possible practical to package the dev "inc.js" files, or do people just package the final dist/foreign-lib.min.js file?
dependencies can be done just like with other clojure or clojurescript code. deps.cljs
provides a way to “require” things. eg. :requires [“cljsjs.react”]
when you run boot package
in any package there will be a deps.cljs
file in target/
that will end up in the jar and be analyzed by the CLJS compiler
foreign libraries have no restrictions really. just Javascript in files really.
really. 😂
yeah, most JS libs just define something in the global NS
js/jQuery
etc
right, but some give you a constructor function which expects you to call them with a export module that supplies them with what they need. this is what is giving me trouble.
thanks for the help, it is really useful. I'll keep hitting cljsjs with PR's until I package the library I need (or until I give up and write it myself 😞 )
Oh I see. “This is left as an exercise to the reader” I’m afraid.
Probably documentation in the packages readme is the easiest fix for those kind of problems
Good luck