Fix #75: support reader conditionals in source code (#76)

This commit is contained in:
Michiel Borkent 2024-04-22 14:19:07 +02:00 committed by GitHub
parent e83a1baa79
commit 2d4782702c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 3 deletions

View file

@ -6,6 +6,7 @@
- [#69](https://github.com/babashka/babashka/issues/69): executing script tag with src + whitespace doesn't work
- [#72](https://github.com/babashka/babashka/issues/72): add clojure 1.11 functions like `update-vals`
- #75: Support reader conditionals in source code
## v0.6.15 (2023-05-04)

View file

@ -3,7 +3,7 @@
{org.clojure/clojure {:mvn/version "1.11.1"}
thheller/shadow-cljs {:mvn/version "2.20.15"}
org.babashka/sci {:git/url "https://github.com/babashka/sci"
:git/sha "3e4689f5163c825ba6fd3085d08b0f95eee00c40"}
:git/sha "bf6a0f1e00313a902c62c59e440266612725b926"}
#_{:local/root "../babashka/sci"}
reagent/reagent {:mvn/version "1.1.1"}
re-frame/re-frame {:mvn/version "1.3.0"}

View file

@ -8,7 +8,6 @@
(.of js/cv.keymap
(clj->js [{:key "Mod-Enter"
:run (fn []
(prn :hoeooo)
(eval-me))}
#_{:key (str modifier "-Enter")
:shift (partial eval-top-level on-result)

View file

@ -51,7 +51,8 @@
:classes {'js js/globalThis
:allow :all
'Math js/Math}
:ns-aliases {'clojure.pprint 'cljs.pprint}}))
:ns-aliases {'clojure.pprint 'cljs.pprint}
:features #{:scittle :cljs}}))
(def !last-ns (volatile! @sci/ns))