This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-10-08
Channels
- # announcements (10)
- # babashka (4)
- # beginners (98)
- # cider (47)
- # clara (6)
- # clj-kondo (16)
- # clojure (54)
- # clojure-australia (3)
- # clojure-berlin (3)
- # clojure-czech (2)
- # clojure-europe (77)
- # clojure-nl (4)
- # clojure-uk (12)
- # clojuredesign-podcast (6)
- # clojurescript (10)
- # conjure (56)
- # cursive (3)
- # data-science (6)
- # datascript (8)
- # datomic (213)
- # depstar (5)
- # events (1)
- # figwheel-main (2)
- # fulcro (23)
- # graalvm (2)
- # jobs (3)
- # london-clojurians (1)
- # malli (30)
- # meander (15)
- # midje (1)
- # mount (5)
- # off-topic (18)
- # re-frame (4)
- # reitit (15)
- # remote-jobs (1)
- # shadow-cljs (23)
- # spacemacs (10)
- # specter (1)
- # tools-deps (88)
- # vim (16)
- # xtdb (1)
Hi, not sure if this is a shadow-cljs specific question but... I'm trying to use a js library https://github.com/tambien/Piano but am getting the error message
TypeError: Class constructor _o cannot be invoked without 'new'
(ns myapp.core
(:require ["@tonejs/piano" :refer (Piano)]))
(Piano.)
I had set :compiler-options :output-feature-set to :es6 with no luck. Any help appreciated. Thanks.Which shadow-cljs version?
@ianchow hard to say without full stacktrace. looks like it is something internal in the lib. not something you are actually calling from CLJS.
How can I include refactor-nrepl in shadow-cljs?
😄 Ok got it working!
Last question though. What should I do to access that function? shadow.loader.load_many
I'm getting: Uncaught TypeError: shadow.loader.load_many is not a function
Module loader has been added to build: :module-loader true
Ahh ok. It should load-multiple.
Hello I am trying to connect my chrome extension to the REPL. I can’t connect to that run time and this is the error I get in the websockets tab ["^ ","~:op","~:access-denied"]
. Any help would be appreciated.
I am using binaryage/chromex and I have connected to the nrepl server and then I’ve done the (shadow/repl :extension) step where extension is the name of the build.
@jahson you could include the polyfill externally via https://polyfill.io/v3/
Yeah, but http://polyfill.io is not an option for me 🙂 Probably I will go with direct require / injection.
@jahson you know that you can download full polyfill bundle?
@karol.wojcik Yeah, I've done polyfills many times in JS, just never did with ClojureScript.