This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-03-02
Channels
- # admin-announcements (9)
- # alda (21)
- # announcements (1)
- # beginners (68)
- # boot (241)
- # braid-chat (18)
- # cider (32)
- # cljs-dev (4)
- # cljsrn (11)
- # clojure (60)
- # clojure-dusseldorf (1)
- # clojure-germany (1)
- # clojure-poland (212)
- # clojure-russia (64)
- # clojure-sg (10)
- # clojurescript (212)
- # core-async (1)
- # css (14)
- # datomic (1)
- # emacs (9)
- # funcool (2)
- # hoplon (18)
- # jobs (1)
- # ldnclj (1)
- # lein-figwheel (5)
- # leiningen (3)
- # om (190)
- # onyx (46)
- # parinfer (13)
- # proton (3)
- # re-frame (7)
- # reagent (10)
- # ring-swagger (2)
- # slack-help (3)
- # specter (1)
- # yada (31)
@numberq: hm that's odd. are you able to share your server-side code?
@numberq: ajax is just the buzzword for the function browsers expose in the JS environment that allows one to asynchronosly send an http request to the server
i think you may need to supply wrap-castra
with the namespace you want to expose
eg (wrap-castra app-routes 'my-project.handler)
i'm not certain this is the reason for your problem though
Hmm, well that certainly seems like a step in the right direction. I'm not currently at a computer I can develop on, but I'll try adding the namespace when I get a chance.
cool, lemme know how it goes
@numberq: https://bitbucket.org/alandipert/thelarch/src/8bb9ea89c9e3df755b5a303667e46c8ba9fe78f4/src/backend/thelarch/handler.clj?at=master&fileviewer=file-view-default might be a helpful reference, it's an app i built with micha recently
albeit an incomplete one
it does demonstrate github oauth + castra backed by datomic, though
surely. happy computing 💻
Ah, datomic - we ended up dropping that in favor of postgresql since we couldn't get it to work. Maybe your example will help with that too :P
So i’m trying to make a “layer” element suitable for dropdowns and popovers. This element/function takes a test
and a tpl
. It watches test
, and appends or removes tpl
to and from document.body
. The layer element itself returns nil. The tpl
positions itself based on the parent of the layer element.
Is the append-child!
function meant for this use? I’m looking at the source and this might be it, but neither jQuery
nor (.getElementById js/document)
yields any Node or Element that seems to be capable of using append-child!
Oh wait, it actually worked! Silly me. I was working on the wrong file 😛