This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-05-15
Channels
- # babashka (12)
- # beginners (88)
- # calva (6)
- # cider (4)
- # clerk (110)
- # clojure (18)
- # clojure-czech (1)
- # clojure-europe (26)
- # clojure-nl (1)
- # clojure-norway (7)
- # clojure-poland (8)
- # clojure-spain (2)
- # clojure-uk (2)
- # clojurescript (22)
- # cursive (11)
- # data-science (1)
- # datalevin (5)
- # datomic (35)
- # events (1)
- # fulcro (2)
- # gratitude (5)
- # helix (4)
- # hoplon (20)
- # hyperfiddle (52)
- # jobs (3)
- # lsp (1)
- # malli (48)
- # missionary (11)
- # off-topic (31)
- # practicalli (1)
- # reitit (7)
- # releases (1)
- # remote-jobs (7)
- # scittle (9)
- # shadow-cljs (7)
- # sql (11)
- # xtdb (5)
has anyone been able to connect to a scittle chrome extensions with nrepl?
I assume you're familiar with https://github.com/babashka/scittle/tree/main/doc/nrepl right?
Yes, it works well for website, but extensions has some strict constraints. scripts cannot be loaded from hosted version, there is no .-hostname
, etc ..
will report back if I can make it work
In extension I cannot really just load code from remote source, so I added http://scittle.to the extensions and I'm trying to load it in a pop up, but I always get a bunch of seeming unrelated warning and cljs code doesn't run in the pop up.
<html>
<head>
<script src="js/scittle.js" type="application/javascript"></script>
<script type="application/x-scittle">
(defn my-alert []
(js/alert "You clicked!"))
</script>
</head>
<body>
<button onclick="my_alert()">
Click me!
</button>
</body>
</html>
the pop up
any ideas why this can happen?
Even with normal cljs I can't get the REPL to work with browser extensions