This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-10-08
Channels
- # aleph (4)
- # beginners (34)
- # boot (37)
- # cljs-dev (5)
- # cljsrn (8)
- # clojure (31)
- # clojure-austin (3)
- # clojure-greece (4)
- # clojure-spec (11)
- # clojure-uk (1)
- # clojurebridge (2)
- # clojurescript (13)
- # cloverage (22)
- # cursive (9)
- # datascript (2)
- # defnpodcast (2)
- # devcards (12)
- # emacs (1)
- # hoplon (67)
- # off-topic (5)
- # om (3)
- # onyx (36)
- # planck (3)
- # quil (2)
- # testing (1)
- # untangled (4)
- # yada (168)
I’m setting up devcards in an existing project. I’ve got a 404 browser in the error because it’s trying to load showdown.js.map when on the server I have showdown.inc.js. This is with devcards 0.2.2. Anyone know what’s going on here?
@kestrel7 .map
extension refers to source mapping
are you maybe compiling without source maps?
{ :main "{{name}}.core" :devcards true ; <- note this :asset-path "js/compiled/devcards_out" :output-to "resources/public/js/{{sanitized}}_devcards.js" :output-dir "resources/public/js/devcards_out" :source-map-timestamp true }
I just added :source-map true to the build config and rebuilt the js source and still get the same error
oh right. that’s a foreign lib, which doesn’t have a source map
what ClojureScript version are you running?
That loading error’s gone. Still don’t see my sample devcard but I'm one step forwards. Thanks @anmonteiro.