diff --git a/CHANGELOG.md b/CHANGELOG.md index a6e971f..99d7be9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/deps.edn b/deps.edn index 54fd4b6..3717b68 100644 --- a/deps.edn +++ b/deps.edn @@ -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"} diff --git a/resources/public/cljs/codemirror.cljs b/resources/public/cljs/codemirror.cljs index 25e727b..db28746 100644 --- a/resources/public/cljs/codemirror.cljs +++ b/resources/public/cljs/codemirror.cljs @@ -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) diff --git a/src/scittle/core.cljs b/src/scittle/core.cljs index 948e0d1..a96111d 100644 --- a/src/scittle/core.cljs +++ b/src/scittle/core.cljs @@ -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))