Liking cljdoc? Tell your friends :D

cybermonday.utils


cleanupclj/s

(cleanup hiccup)

Removes excess whitespace and nils from the resulting AST.

Removes excess whitespace and nils from the resulting AST.
sourceraw docstring

collect-textclj/s

(collect-text ir)

Given hiccup, return a sequence of just the text items

Given hiccup, return a sequence of just the text items
sourceraw docstring

gen-idclj/s

(gen-id node)

Given an IR node, generate an id based on all its text

Given an IR node, generate an id based on all its text
sourceraw docstring

hiccup?clj/s

(hiccup? element)

Tests to see if an element is valid hiccup

Tests to see if an element is valid hiccup
sourceraw docstring

html-comment-reclj/s

source

make-hiccup-nodeclj/s

(make-hiccup-node tag children)
(make-hiccup-node tag attrs children)

Creates a hiccup node, consuming a sequence of children

Creates a hiccup node, consuming a sequence of children
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close