Put generated date at end of data.

This commit is contained in:
ken restivo 2015-11-03 21:19:16 -08:00
parent d9c7b39b88
commit 4bd0e083d1
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -53,14 +53,14 @@
[path] [path]
[:div [:div
[:h3 "Hooks"] [:h3 "Hooks"]
[:p "Generated " (-> (java.util.Date.) str)]
[:table [:table
[:tr (map #(vector :td %) ["Function" "Source File" "Arg"])] [:tr (map #(vector :td %) ["Function" "Source File" "Arg"])]
(for [{:keys [function arg file]} (for [{:keys [function arg file]}
(->> path (->> path
show-hooks show-hooks
(sort-by :function))] (sort-by :function))]
[:tr (map #(vector :td (h/h %)) [function file arg])])]]) [:tr (map #(vector :td (h/h %)) [function file arg])])]
[:p "Generated " (-> (java.util.Date.) str)]])
(defn make-hook-docs (defn make-hook-docs