Skip to content

Commit

Permalink
Fix pprint plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Dec 22, 2022
1 parent e675ad3 commit 2463f54
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

[Scittle](https://github.com/babashka/scittle): execute Clojure(Script) directly from browser script tags via SCI!

## v0.5.13 (2022-12-23)

- Fix `cljs.pprint` plugin

## v0.5.12 (2022-12-23)

- Fix `reagent` `with-let` macro with advanced compiled builds
Expand Down
1 change: 1 addition & 0 deletions resources/public/test/codemirror.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<script src="https://unpkg.com/react-dom@18/umd/react-dom.production.min.js"></script>
<script src="/js/scittle.reagent.js"> </script>
<script src="/js/scittle.re-frame.js"> </script>
<script src="/js/scittle.pprint.js"> </script>
<script type="importmap">
{
"imports": {
Expand Down
2 changes: 1 addition & 1 deletion shadow-cljs.edn
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
:depends-on #{:scittle}}
:scittle.promesa {:entries [scittle.promesa]
:depends-on #{:scittle}}
:scittle.pprint {:entries [cljs.pprint]
:scittle.pprint {:entries [scittle.pprint]
:depends-on #{:scittle}}
:scittle.reagent {:entries [scittle.reagent]
:depends-on #{:scittle}}
Expand Down
4 changes: 3 additions & 1 deletion src/scittle/pprint.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
[sci.configs.cljs.pprint :refer [config]]
[scittle.core :as scittle]))

(prn :config config)

(scittle/register-plugin!
::promesa
::pprint
config)

0 comments on commit 2463f54

Please sign in to comment.