Skip to content

Commit bcfc1de

Browse files
hide code for explorer
1 parent 121e775 commit bcfc1de

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

notebooks/civitas/explorer.clj

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
[civitas.geometry :as geom]
1010
[civitas.svg :as svg]))
1111

12+
;; We need a database of Clojure learning resources.
13+
14+
^:kindly/hide-code
1215
(defn html [s content]
1316
[:foreignObject {:x (- s)
1417
:y (- s)
@@ -37,10 +40,6 @@
3740
(html s [:a {:href url}
3841
title])]))
3942

40-
(comment
41-
(kind/hiccup [:div (for [i (range 10)]
42-
(/ i 0))]))
43-
4443
^:kindly/hide-code
4544
(defn hex-grid [xs]
4645
(let [max-position (transduce (map :position) max 0 xs)

0 commit comments

Comments
 (0)