This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-09-24
Channels
- # beginners (13)
- # cider (1)
- # cljsrn (2)
- # clojars (5)
- # clojure (110)
- # clojure-czech (1)
- # clojure-dusseldorf (3)
- # clojure-japan (1)
- # clojure-spec (39)
- # clojurescript (13)
- # cloverage (2)
- # cursive (2)
- # defnpodcast (4)
- # lein-figwheel (7)
- # off-topic (1)
- # om (38)
- # om-next (4)
- # perun (1)
- # planck (3)
- # reactive (8)
- # rethinkdb (1)
- # ring-swagger (1)
- # specter (17)
- # vim (1)
- # yada (4)
how can I require
two different namespaces depending on the compilation target (ie. one for node, one for the browser)?
Hi all, I don't know if this channel is open to beginner questions, or just for ClojureScript developers. Anyway excuse my beginner's ignorance, I can't access the response of ajax.cores's GET. In the debugger it's a PersistentArrayMap. But the output is always just "null". Any hints?
@romanglass: what does your js console say. Sometimes you run into COARS security block, depending on the website. Best to do all GET requests in json. All depends what you seek to accomplish.
I get the following error: No implementation of method: :emit-instruction of protocol: #'cljs.core.async.impl.ioc-macros/IEmittableInstruction found for class: cljs.core.async.impl.ioc_macros.Jmp
(go-loop [next dep
status true]
(doseq [n (range 4)]
(recur n true))))
Seems to be the cause of the issue@hlolli Thank you for your response. My case is this one: https://gist.github.com/rglass/942ba50ca68b0567d2ab73754024ce70 COARS should not be a problem. Python works just fine. But I would like to do it in Clojure. Can you spot the mistake? Or should I use another library (maybe directly goog.net.XhrIo.