This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-12-02
Channels
- # adventofcode (5)
- # arachne (2)
- # bangalore-clj (1)
- # beginners (8)
- # boot (195)
- # cider (28)
- # cljs-dev (35)
- # cljsrn (4)
- # clojure (295)
- # clojure-brasil (5)
- # clojure-gamedev (2)
- # clojure-greece (2)
- # clojure-korea (13)
- # clojure-russia (60)
- # clojure-spec (58)
- # clojure-uk (92)
- # clojurescript (31)
- # clojurex (4)
- # css (1)
- # cursive (13)
- # datomic (40)
- # devcards (2)
- # emacs (17)
- # events (1)
- # flambo (3)
- # garden (9)
- # hoplon (31)
- # jobs (3)
- # klipse (1)
- # lein-figwheel (1)
- # london-clojurians (1)
- # luminus (2)
- # mount (36)
- # off-topic (13)
- # onyx (8)
- # pamela (1)
- # pedestal (1)
- # planck (3)
- # proto-repl (16)
- # protorepl (11)
- # re-frame (78)
- # reagent (4)
- # rethinkdb (6)
- # ring-swagger (1)
- # specter (8)
- # untangled (10)
- # vim (1)
@martinklepsch Found a solution to the problem I was having, similar to the advice you offered:
(deftask data-readers []
(fn [next-task]
(fn [fileset]
(#'clojure.core/load-data-readers)
(with-bindings {#'*data-readers* (.getRawRoot #'*data-readers*)}
(require '[wordroot-tasks.dev :as wordroot-dev])
(next-task fileset)))))
Added that to my build pipeline. I also require my dev namespace (that uses the macro) after data-readers has been bound. Cheers again for all your help.so i’m looking at integrating some analytics with my cljs app
async pub/sub channels looked like a good way to put data in and get it sent to various places
but they seem to drop events that are received before a sub is ready to receive them
so i guess if i try to track an event “too early” a subscriber might miss it
am i doing this wrong?
@chooie awesome, glad you got it working!
thanks for the info, stevechan. I can get this working in lein but i'm new to how to do the same things in boot
in particular, I see the dependencies in project.clj
for cljs and its associated repl helpers, but i'm not seeing it in the boot file generated by boot -d seancorfield/boot-new new -t hoplon -n address-book
I would consider it an anti-pattern but since cljs is supposed to be single threaded, I'm not sure what the public opinion is on stuff like this?
as you say, I don't think it matters much in cljs
maybe? (let [state @!state] (cond-> state (map? state) (dissoc :error)))
@imre, I'd consider it an anti-pattern since that's easier than remember the context in which the code is run, also this would give you lot of headaches if you ever wanted to port the code to the JVM
Hi, is there an accepted standard for AJAX calls from ClojureScript? cljs-ajax? jayq?
I prefer cljs-ajax > jayq
anyone ever see this sort of error in advanced compilation?
ERROR: JSC_MISSING_PROVIDE_ERROR. required "admin.ui.listing_details.core" namespace never provided at /tmp-build-dir/resources/public/generated/js/admin/mutation/listing_details.js line 4 : 0
ERROR: JSC_MISSING_PROVIDE_ERROR. required "admin.ui.listing_details.core" namespace never provided at /tmp-build-dir/resources/public/generated/js/admin/ui/tabunion.js line 18 : 0
Successfully compiled "resources/public/generated/js/AdminUI.min.js" in 41.113 seconds.
i'm stumped, i'm triple checked the namespace declarations, and looked for circular dependencies, everything looks good@johanatan I think the easiest way is to just use goog.net.XhrIo
@jasonjckn just seems like a file is missing from the build