Skip to content

Commit

Permalink
rule ns rule resolving that without [] ; bump 0.5.26
Browse files Browse the repository at this point in the history
  • Loading branch information
tiye committed Apr 2, 2021
1 parent 183cfec commit 6a1f872
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 25 deletions.
13 changes: 12 additions & 1 deletion calcit.cirru
Original file line number Diff line number Diff line change
Expand Up @@ -3881,7 +3881,18 @@
|r $ {} (:type :leaf) (:by |S1lNv50FW) (:at 1564902440386) (:text |2)
|r $ {} (:type :expr) (:by |S1lNv50FW) (:at 1564902440386)
:data $ {}
|T $ {} (:type :leaf) (:by |S1lNv50FW) (:at 1564902440386) (:text |rest)
|T $ {} (:type :leaf) (:by |S1lNv50FW) (:at 1617360245401) (:text |filter)
|j $ {} (:type :expr) (:by |S1lNv50FW) (:at 1617360245929)
:data $ {}
|T $ {} (:type :leaf) (:by |S1lNv50FW) (:at 1617360247752) (:text |fn)
|j $ {} (:type :expr) (:by |S1lNv50FW) (:at 1617360249063)
:data $ {}
|T $ {} (:type :leaf) (:by |S1lNv50FW) (:at 1617360251243) (:text |def-text)
|r $ {} (:type :expr) (:by |S1lNv50FW) (:at 1617360255189)
:data $ {}
|T $ {} (:type :leaf) (:by |S1lNv50FW) (:at 1617360254621) (:text |def-text)
|D $ {} (:type :leaf) (:by |S1lNv50FW) (:at 1617360258762) (:text |not=)
|j $ {} (:type :leaf) (:by |S1lNv50FW) (:at 1617360260595) (:text "|\"[]")
|v $ {} (:type :expr) (:by |S1lNv50FW) (:at 1564902440386)
:data $ {}
|T $ {} (:type :leaf) (:by |S1lNv50FW) (:at 1564902440386) (:text |map)
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "calcit-editor",
"version": "0.5.25",
"version": "0.5.26",
"description": "Cirru Calcit Editor",
"bin": {
"calcit-editor": "dist/server.js",
Expand All @@ -23,7 +23,7 @@
"license": "MIT",
"devDependencies": {
"feather-icons": "^4.28.0",
"shadow-cljs": "^2.11.23",
"shadow-cljs": "^2.12.1",
"source-map-support": "^0.5.19",
"url-parse": "^1.5.1"
},
Expand Down
2 changes: 1 addition & 1 deletion src/app/util.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
":as" {(get piece 2) {:method :as, :ns ns-text}}
":refer"
(->> (get piece 2)
(rest)
(filter (fn [def-text] (not= def-text "[]")))
(map (fn [def-text] [def-text {:method :refer, :ns ns-text, :def def-text}]))
(into {}))
":default" {(get piece 2) {:method :refer, :ns ns-text, :def (get piece 2)}}
Expand Down
42 changes: 21 additions & 21 deletions yarn.lock

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

0 comments on commit 6a1f872

Please sign in to comment.