Created
May 7, 2014 05:32
-
-
Save Mongey/adbdd1519549ece3c313 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(def comment-data [{:author "Pete Hunt" :text "This ia comment."} | |
{:author "Jordan Walke" :text "This is *another* coment"}]) | |
(into-array | |
(map #(om/build comment (comment-data %)) | |
(range (count comment-data)) | |
) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment