Skip to content

Commit

Permalink
Test names in advanced compiled
Browse files Browse the repository at this point in the history
  • Loading branch information
zampino committed Aug 21, 2023
1 parent 1683b82 commit e2cd0b4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/nextjournal/clerk/render/editor.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,11 @@
{:key "Escape"
:run #(reset! !show-docstring? false)}]))]))
@!container-el))]

(js/console.log :keys
(->> (.. view -state (facet keymap) flat (filter #(and (or (.-key %) (.-mac %)) (.-run %) (.. % -run -name))))
(map #(.. % -run -name))))

(show-notebook view)
#(.destroy view))))
(code/use-dark-mode !view)
Expand Down

0 comments on commit e2cd0b4

Please sign in to comment.