Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Apr 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
Expand Down
1 change: 0 additions & 1 deletion resources/public/cljs/codemirror.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 2 additions & 1 deletion src/scittle/core.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down