1.0.0-SNAPSHOT permalink Arrow_down_16x16
  • (defsnippets source & specs)

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source net/cgrand/enlive_html.clj:588 top

(defmacro defsnippets
 [source & specs]
 `(let [xml# (html-resource ~source)] 
   ~@(map (fn [[name selector args & forms]]
            `(def ~name (snippet xml# ~selector ~args ~@forms)))
Vars in net.cgrand.enlive-html/defsnippets: defmacro fn map name source apply concat let list seq vector
Used in 0 other vars

Comments top

No comments for defsnippets. Log in to add a comment.