Fix #75: support reader conditionals in source code
This commit is contained in:
parent
e83a1baa79
commit
ad0f2d9c33
4 changed files with 4 additions and 3 deletions
|
|
@ -6,6 +6,7 @@
|
||||||
|
|
||||||
- [#69](https://github.com/babashka/babashka/issues/69): executing script tag with src + whitespace doesn't work
|
- [#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`
|
- [#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)
|
## v0.6.15 (2023-05-04)
|
||||||
|
|
||||||
|
|
|
||||||
2
deps.edn
2
deps.edn
|
|
@ -3,7 +3,7 @@
|
||||||
{org.clojure/clojure {:mvn/version "1.11.1"}
|
{org.clojure/clojure {:mvn/version "1.11.1"}
|
||||||
thheller/shadow-cljs {:mvn/version "2.20.15"}
|
thheller/shadow-cljs {:mvn/version "2.20.15"}
|
||||||
org.babashka/sci {:git/url "https://github.com/babashka/sci"
|
org.babashka/sci {:git/url "https://github.com/babashka/sci"
|
||||||
:git/sha "3e4689f5163c825ba6fd3085d08b0f95eee00c40"}
|
:git/sha "bf6a0f1e00313a902c62c59e440266612725b926"}
|
||||||
#_{:local/root "../babashka/sci"}
|
#_{:local/root "../babashka/sci"}
|
||||||
reagent/reagent {:mvn/version "1.1.1"}
|
reagent/reagent {:mvn/version "1.1.1"}
|
||||||
re-frame/re-frame {:mvn/version "1.3.0"}
|
re-frame/re-frame {:mvn/version "1.3.0"}
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@
|
||||||
(.of js/cv.keymap
|
(.of js/cv.keymap
|
||||||
(clj->js [{:key "Mod-Enter"
|
(clj->js [{:key "Mod-Enter"
|
||||||
:run (fn []
|
:run (fn []
|
||||||
(prn :hoeooo)
|
|
||||||
(eval-me))}
|
(eval-me))}
|
||||||
#_{:key (str modifier "-Enter")
|
#_{:key (str modifier "-Enter")
|
||||||
:shift (partial eval-top-level on-result)
|
:shift (partial eval-top-level on-result)
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,8 @@
|
||||||
:classes {'js js/globalThis
|
:classes {'js js/globalThis
|
||||||
:allow :all
|
:allow :all
|
||||||
'Math js/Math}
|
'Math js/Math}
|
||||||
:ns-aliases {'clojure.pprint 'cljs.pprint}}))
|
:ns-aliases {'clojure.pprint 'cljs.pprint}
|
||||||
|
:features #{:scittle :cljs}}))
|
||||||
|
|
||||||
(def !last-ns (volatile! @sci/ns))
|
(def !last-ns (volatile! @sci/ns))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue