Skip to content

Commit

Permalink
Fix #75: support reader conditionals in source code (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude authored Apr 22, 2024
1 parent e83a1ba commit 2d47827
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
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

0 comments on commit 2d47827

Please sign in to comment.