This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-10-03
Channels
- # aleph (5)
- # announcements (4)
- # babashka (2)
- # beginners (52)
- # calva (13)
- # cider (60)
- # clj-kondo (91)
- # cljsrn (6)
- # clojure (93)
- # clojure-brasil (2)
- # clojure-dev (37)
- # clojure-europe (5)
- # clojure-italy (7)
- # clojure-nl (8)
- # clojure-norway (1)
- # clojure-sg (1)
- # clojure-spec (115)
- # clojure-uk (31)
- # clojurescript (32)
- # cursive (35)
- # data-science (4)
- # datascript (3)
- # datomic (29)
- # emacs (8)
- # events (1)
- # figwheel (1)
- # funcool (2)
- # graalvm (2)
- # joker (12)
- # kaocha (4)
- # lein-figwheel (1)
- # leiningen (34)
- # malli (7)
- # off-topic (4)
- # overtone (1)
- # parinfer (2)
- # pathom (5)
- # quil (1)
- # re-frame (12)
- # reagent (2)
- # shadow-cljs (7)
- # spacemacs (6)
- # sql (8)
- # tools-deps (63)
- # vim (24)
Hello guys
I had a project in clojurescript with re-frame and bidi
I'm trying to make it work. but when i load the project, it goes diretcly to de default page instead of home page
I downloaded some examples on github but as i see i have the same thing as it and it's not working as expected. Someone has some experience with routing stuff on cljs?
Hi Ramon, what routing library do you use? It is possible you don't have a handler for the route you want to use.
Hello guys, is it possible to get my clojure files back from a .jar file? I guess not, but worths a question, I didn't back up properly and I am wondering 😄
jar tvf <filename>
will list what's in your jar - it's quite likely your .clj
files are in there. jar xf <filename>
will extract them for you
well, I found it only in the compiled version, .jar and .js
the libraries which I used have a lot of clj though 😄
ah well, it depends on how you built...
I remember I used :simple, because of the external js files, like google maps
no problem, I already started writing again 3 years of work, I just had a feeling that I have to make a last try for retrieving it 😄
eek - 3 years 😿
shit happens, also, always backup! :DDD
umm ... git ?
Paging @bronsa
Tools decompiler night help you get the clj, but the cljs though
@U1YTC9FU5 Did you use source-maps by any chance? If so your cljs could be just sitting inside your resources?
in clojure, you can use
to read source files as resources in the jar file
i have a weird behaviour using shadow-cljs. Each time i include my own macros i have this:
FileNotFoundException: Could not locate simple/macros__init.class, simple/macros.clj or simple/macros.cljc on classpath.
that means the macro ns could not be found on the classpath. eg. with :source-paths ["src/main"]
the file would need to be at src/main/simple/macros.clj
i tried with another project setup and cannot refer any macros from my macros.cljs file 😞
just to be clear here: macros are defined in Clojure. You cannot write them in .cljs
files.
macros run at compile time and compilation happens on the JVM (not at runtime in JS)
@U05224H0W i am finally in order to compile macros for js runtime