Fork me on GitHub
#clojurescript
<
2020-10-24
>
datran02:10:08

Does *ns* work in cljs? I'm trying to write a macro and I need to construct a fully qualified symbol

datran02:10:29

It keeps returning nil, though

lilactown05:10:33

are you using self hosted CLJS?

datran05:10:08

nope, in the browser with shadow-cljs

thheller08:10:17

@datran *ns* works as long as you use it IN the macro. not in the code the macro returns.

Kevin12:10:23

Does anyone have experience with writing chrome extensions with CLJS? I made a really basic setup with re-frame but I'm getting a lot of app.js:584 Refused to execute inline script because it violates the following Content Security Policy directive errors

Kevin12:10:00

Adding "content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'" to `manifest.json actually seems to work. I'm not sure of the security risks though