generate-all-namespaces-action-script

clojure.contrib.gen-html-docs

  • (generate-all-namespaces-action-script action toggle-text libs)

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 clojure/contrib/gen_html_docs.clj:421 top

(defn generate-all-namespaces-action-script 
  [action toggle-text libs]
  (str (format  "function %sAllNamespaces()" action)
       \newline
       "{"
       \newline
       (reduce str (map #(generate-toggle-namespace-script action toggle-text %) libs))
       \newline
       "}"))
Vars in clojure.contrib.gen-html-docs/generate-all-namespaces-action-script: defn format map reduce str
Used in 0 other vars

Comments top

No comments for generate-all-namespaces-action-script. Log in to add a comment.