This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-03-18
Channels
- # beginners (123)
- # boot (3)
- # cider (6)
- # clara (1)
- # cljs-dev (139)
- # cljsrn (9)
- # clojure (59)
- # clojure-italy (5)
- # clojure-uk (41)
- # clojured (10)
- # clojurescript (67)
- # community-development (1)
- # component (2)
- # core-async (7)
- # cursive (4)
- # datomic (4)
- # defnpodcast (2)
- # fulcro (23)
- # graphql (1)
- # jobs (2)
- # leiningen (4)
- # off-topic (32)
- # portkey (7)
- # protorepl (5)
- # re-frame (19)
- # reagent (5)
- # reitit (23)
- # shadow-cljs (29)
- # slack-help (1)
- # spacemacs (1)
- # tools-deps (21)
- # unrepl (18)
just released https://github.com/thheller/shadow-cljs/releases/tag/2.2.14 ping @mhuebert @bhauman
I was curious if I could trim down the config even more and looked at your maria/editor config
:http-handler shadow.http.push-state/handle
push-state is now the default so you can leave that out too 🙂
@bhauman I found :figwheel-always
and :figwheel-noload
on the ns
name. do you support other metadata currently? and what exactly does :figwheel-always
do? just always load it even if it wasn't compiled?
noted. thanks. :figwheel-noload
I added already https://github.com/thheller/shadow-cljs/blob/master/src/main/shadow/cljs/devtools/server/worker/impl.clj#L137-L139
@thheller Thanks -- the shim file has fixed my first issue with p5! And I just read through that part of the manual (good docs). The next error I'm getting is The required JS dependency "/assets/p5.tiledmap.js" is not available, it was required by "p5/tiled_map.cljs".
Now, p5.tiledmap isn't in npm. I'm trying to require it by using the file locally, but can't quite get all the dots connected.
@escherize so the only issue I see is that the require('../p5')
is incorrect. it should be require('p5')
but if you change that you can put the file into your source path and just require it directly via (:require ["/abs/path/p5.tiledmap.js"])
like you were trying?
it would be almost usable from what play-cljs if the require here was changed to require("./p5")
(ie. minus one dot) https://github.com/oakes/play-cljs/blob/master/src/js/p5.tiledmap.js#L5