This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-05-26
Channels
- # aws (7)
- # beginners (109)
- # boot (5)
- # carry (2)
- # cider (25)
- # clara (6)
- # cljs-dev (86)
- # cljs-experience (19)
- # cljsrn (1)
- # clojure (183)
- # clojure-dev (7)
- # clojure-dusseldorf (7)
- # clojure-gamedev (2)
- # clojure-greece (32)
- # clojure-italy (2)
- # clojure-norway (1)
- # clojure-russia (228)
- # clojure-sg (3)
- # clojure-spec (38)
- # clojure-uk (104)
- # clojurebridge (1)
- # clojurescript (29)
- # community-development (9)
- # core-async (118)
- # core-matrix (20)
- # cursive (5)
- # datomic (140)
- # emacs (25)
- # figwheel (1)
- # hoplon (21)
- # jobs (4)
- # lein-figwheel (2)
- # luminus (10)
- # lumo (35)
- # off-topic (137)
- # om (31)
- # onyx (62)
- # pedestal (6)
- # reagent (25)
- # remote-jobs (1)
- # ring-swagger (11)
- # spacemacs (2)
- # test-check (17)
- # uncomplicate (10)
- # unrepl (1)
- # untangled (20)
- # vim (4)
- # yada (3)
someone using lein doo
here?
There is some way to separate build from execution?
I want to lein doo build
-> target
on clojure
docker
than phantomjs run target/doo.js
in another docker
Was mucking around testing some ways to update a map in a loop.. Pretty interesting: https://gist.github.com/minikomi/a536cbcd8c476437bd78f2d1735c3c90
need a better test i think. .advanced optimization is reducing it down to the answer 😆
Does anyone happen to know a password protect a file solution that works on the browser?
I'm packaging a library, https://github.com/igorprado/react-notification-system, for cljsjs. To do that, can I use the provided UMD build? Webpack can have different libraryTarget
s: var
and umd
- are both usable as a basis for cljsjs packages?
got it to work with libraryTarget: "var"
Is there anything in Google Closure to reliably detect a mobile device?
goog.userAgent.MOBILE
did the trick
such a treasure trove of goodies in that library
Hello, I'm trying to use :npm-deps feature, and I get now
process is not defined
, I think that I need to set NODE_ENV, but how to do it? Does anybody knows?@osmirnov the workaround is to create a process.env
namespace in your project with a goog-define
for NODE_ENV
Example: https://github.com/anmonteiro/om/commit/686921531c7bcbbd75804e6b9240b12d92eaaa5f
I’m working on a library that’s intended to make it easy to capture data from a running app, and then load that data into tests. I’m trying to make this work with cljs now. Is there a straightforward way to load data from a resource directory in my cljs unit tests, ideally one that would also allow loading example data into a figwheel repl? I can think of multiple ways to do it but would appreciate advice from people who use cljs more and are more familiar with the limitations / idioms of the js ecosystem.
right now I’m dumping the data by creating an anchor with a data url and generating a click event so the browser downloads the encoded data
what are good resources to learn cljs? what are prerequisites ? do i need to be proficient in JS before trying cljs or something like that?
@lepistane: Definitely don't need to be proficient in JS. There are some good resources at https://clojurescript.org/community/resources as well as the rest of that site, though some parts can be pretty hard to understand depending on your current knowledge. The #beginners channel here is also very good for specific questions as you get started, lots of helpful people on there ready to help. Have you got much programming experience (in Clojure or other languages)?
@lepistane: A lot of the books at https://clojure.org/community/books also have ClojureScript specific content as well.
@shaun-mahood second year of cs university made 2 websites with wordpress 1 webforum java servlets backend, jquery,html,boostrap,css frontend played around with clj - had to read SICP since i had no experience in functional programming and no book/resoureces offers that in clojure have upcoming project with spring on backend, wanted to learn cljs and use it as frontend so i am asking for resources thank you for links would you say this is enough knowledge to get started?
@lepistane: I definitely think that is enough to get started! I found re-frame to be a really good way to get started with CLJS and the docs and #re-frame channel are both excellent for support.
There are a lot of other good options as well that provide similar functionality as well - https://www.clojure-toolbox.com/ is a good site to browse for options across the whole ecosystem.
@lepistane: My pleasure! I hope you have a lot of fun on your project, definitely ask lots of question as you get stuck.
I just cut org.clojure/google-closure-library
and org.clojure/google-closure-library-third-party
version 0.0-20170519-fa0499ef
, might want to take that for a spin
ClojureScript 1.9.562 released https://groups.google.com/d/msg/clojure/BRLX6hXXb7g/JtYOgRVoBwAJ