Skip to content

Commit

Permalink
fix nil vaule detection; tag 0.4.6
Browse files Browse the repository at this point in the history
  • Loading branch information
tiye committed Jan 5, 2025
1 parent 98e60e8 commit 18dca60
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 17 deletions.
33 changes: 20 additions & 13 deletions calcit.cirru

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

7 changes: 4 additions & 3 deletions compact.cirru
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

{} (:package |respo-md)
:configs $ {} (:init-fn |respo-md.main/main!) (:reload-fn |respo-md.main/reload!) (:version |0.4.5)
:configs $ {} (:init-fn |respo-md.main/main!) (:reload-fn |respo-md.main/reload!) (:version |0.4.6)
:modules $ [] |respo.calcit/compact.cirru |respo-ui.calcit/compact.cirru |memof/compact.cirru |lilac/compact.cirru
:entries $ {}
:files $ {}
Expand Down Expand Up @@ -177,9 +177,10 @@
let
header-line $ first lines
body-lines $ let
p0 $ nth (nth lines 1) 0
p0 $ get (get lines 1) 0
if
or (.starts-with? p0 "\":-") (.starts-with? p0 "\"--")
and (some? p0)
or (.starts-with? p0 "\":-") (.starts-with? p0 "\"--")
.slice lines 2
.slice lines 1
create-element :table
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.4.5",
"version": "0.4.6",
"dependencies": {
"@calcit/procs": "^0.9.6",
"cirru-color": "^0.2.4",
Expand Down

0 comments on commit 18dca60

Please sign in to comment.