clojurescript

ClojureScript, a dialect of Clojure that compiles to JavaScript http://clojurescript.org | Currently at 1.10.879
2020-10-24T02:41:08.244600Z

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

2020-10-24T02:56:29.244800Z

It keeps returning nil, though

lilactown 2020-10-24T05:43:33.245Z

are you using self hosted CLJS?

2020-10-24T05:51:08.245500Z

nope, in the browser with shadow-cljs

thheller 2020-10-24T08:17:17.247400Z

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

kwrooijen 2020-10-24T12:42:23.249Z

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

kwrooijen 2020-10-24T12:45:00.249800Z

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