Skip to content

Instantly share code, notes, and snippets.

Enjoying the summer

Daniel Compton danielcompton

Enjoying the summer
Block or report user

Report or block danielcompton

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View non_idiomatic.cljs
(defn checkbox [short-name takes-place? word k]
^{:key (str k "takes-place")}
[:input.filled-in {:type "checkbox"
:id (str "weekdays-" short-name)
:checked takes-place?}]
[ {:for (str "weekdays-" short-name)
:style {:height "auto"
:line-height "normal"}}
word (when-not takes-place? (str " nicht" (when (= k :sun) ".")))]])
You can’t perform that action at this time.