Namespaces

 
1.0.0-SNAPSHOT permalink Arrow_down_16x16
  • (at node-or-nodes & rules)

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:486 top

(defmacro at [node-or-nodes & rules]
  `(-> ~node-or-nodes as-nodes 
     ~@(for [[s t] (partition 2 rules)]
         (if (= :lockstep s)
           `(lockstep-transform 
              ~(into {} (for [[s t] t] 
                          [(if (static-selector? s) (cacheable s) s) t])))
           `(transform ~(if (static-selector? s) (cacheable s) s) ~t)))))
Vars in net.cgrand.enlive-html/at: = defmacro for into -> concat list seq
Used in 0 other vars

Comments top

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