Skip to content

Commit

Permalink
get back a button for JSON parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
tiye committed Jan 3, 2024
1 parent 5127279 commit 3a7f38a
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 0 deletions.
46 changes: 46 additions & 0 deletions calcit.cirru

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions compact.cirru
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,13 @@
fn () $ to-calcit-data
jsedn/toJS $ jsedn/parse (:text store)
, d!
a $ {} (:inner-text "\"Read JSON")
:class-name $ str-spaced css/link
:on-click $ fn (e d!)
handle-result
fn () $ to-calcit-data
js/JSON.parse $ :text store
, d!
; a $ {} (:inner-text "\"Read CSON")
:style $ merge ui/link
:on-click $ fn (e d!)
Expand Down

0 comments on commit 3a7f38a

Please sign in to comment.