Created
March 2, 2014 20:36
-
-
Save benmoss/9313406 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
(apply dom/table #js {:className "chess-board"} | |
(map #(dom/tr #js {:key (:position (first %))} | |
(om/build-all square % options)) | |
rows)) | |
; rows is structured as | |
; ((cursor cursor) (cursor cursor)) | |
; want one TR per partition |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment