This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-01-26
Channels
- # announcements (1)
- # asami (7)
- # aws (3)
- # babashka (30)
- # beginners (21)
- # calva (48)
- # cider (11)
- # clj-commons (5)
- # clj-kondo (12)
- # cljdoc (5)
- # cljfx (1)
- # cljs-dev (32)
- # cljsrn (4)
- # clojure (218)
- # clojure-europe (88)
- # clojure-nl (11)
- # clojure-uk (31)
- # clojurescript (8)
- # cursive (98)
- # data-science (6)
- # datomic (49)
- # emacs (12)
- # events (4)
- # fulcro (47)
- # graalvm (3)
- # graphql (4)
- # introduce-yourself (5)
- # java (13)
- # juxt (9)
- # lsp (74)
- # meander (3)
- # membrane (4)
- # missionary (31)
- # off-topic (24)
- # pathom (41)
- # portal (4)
- # reagent (3)
- # releases (1)
- # remote-jobs (3)
- # rewrite-clj (4)
- # shadow-cljs (10)
- # slack-help (2)
- # testing (20)
- # tools-deps (43)
we use ag-grid, and specifically this function https://github.com/ag-grid/ag-grid/blob/f1504fe5adb0a91f4658658bdd6aa591ed2f1864/community-modules/core/src/ts/utils/dom.ts#L239 which recently moved from one namespace to the other
I tried all the possible ways I could think of to require it but I can't seem to crack the enigma, any idea?
The function itself is also available directly in the node_modules/ag-grid-enterprise/ag-grid.js
for example, but either that or trying to use the full path doesn't work
@andrea.crotti do you have an example of JS using this? regarding locating exported functions never look at the source on github. that is the raw source and usually has very little to do with the final bundled result.
Yeah I figured that it's pointless to look at the source
I'll see if I find an example of js using it
how did you use it before? I mean it should be possible to reconstruct it based on where it moved from and what it was called before
in the end I just rewrote that function in cljs
since it was literally 3 lines of code
so it doesn't break again next time ag-grid move it again
I have two browsers loading my shadow-cljs managed webpage
I am using npx shadow-cljs cljs-repl foo
` to connect to one of them.
Is there an easy way to swith to a repl on the other browser?