This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-04-08
Channels
- # architecture (8)
- # boot (18)
- # cider (33)
- # cljs-dev (35)
- # cljsrn (3)
- # clojure (77)
- # clojure-dev (6)
- # clojure-dusseldorf (1)
- # clojure-russia (1)
- # clojure-spec (4)
- # clojurescript (40)
- # cryogen (1)
- # cursive (4)
- # dirac (2)
- # emacs (1)
- # figwheel (10)
- # funcool (2)
- # hoplon (21)
- # incanter (2)
- # leiningen (1)
- # lumo (44)
- # off-topic (2)
- # onyx (53)
- # overtone (5)
- # pedestal (8)
- # re-frame (9)
- # reagent (37)
- # rum (9)
- # spacemacs (16)
- # sql (2)
- # testing (1)
- # unrepl (4)
- # untangled (4)
- # yada (16)
I asked this over on the figwheel channel but there doesn't appear to be much traffic over there ATM. Does anyone know if there is a figwheel connect
-like function that can be used from anywhere in the source? Similar to brepl or weasel? I couldn't find any reference to one in the source.
I was able to use weasel to repl into a webworker yesterday, but I only got in once. Every other time, the repl hangs after a websocket connection is made.
But now it's doing the same thing on the main thread. Weasel's getting long in the tooth, compared to figwheel. 😕
hmm. Came back after switching off advanced compilation. If I find a minimal case I'll submit an issue to weasel
Might anyone have a working example of funcool/bide routing between a couple pages with figwheel?
@john you don't give up do you? 🙂 ... no REPL will ever work in advanced compilation ... not weasel not figwheel not anything
Any recommendations on clojurescript libraries for making http requests ( on nodejs) ?
@fernandohur I normally use the goog libraries (come with cljs) https://developers.google.com/closure/library/docs/xhrio
As far as I know xhrio uses XMLHttpRequest which is not available on node.
Is there a way to configure xhrio for node?
why not use node's api directly?
Definitely an option, but I was wondering if there was something better.
we need more documentation on how to use node APIs from cljs
although it's usually pretty obvious how to translate the node docs to cljs
Hello everybody !
I'm trying to split my clojurescript app in Closure modules. I have some cljsjs dependencies and I would like to make them go into a specific module but it seems that the closure compiler can't find anything related to cljsjs when referenced in the :entries
set. Did some of you managed to do it ?
it is a different :modules
implementation from the one in core. I think the one in core doesn't do post processing to the modules and cljsjs files do not go through the closure compiler at all
Awesome thank you ! I'll look at it !
I wasn't talking about a self-hosted instance, btw. Just repling into an :advanced
compiled environment. Could have sworn I've done that before.
:advanced
mode renames all variables, so when the REPL generates code for (assoc {} :x 1)
it will generate normal code that isn't callable
@thheller Understood. I just figured both the repl and the browser shared the same compiled codebase.
So in order to import scripts in a webworker, I had to slightly modify @thheller's suggestion:
But it appears as though datatypes aren't being populated in some way with their functions