Advertisement
Guest User

Untitled

a guest
Feb 6th, 2016
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. (list-view
  2. {:dataSource (clone-with-rows
  3. data-source
  4. (clj->js
  5. (mapv #(assoc % :omcljs$meta (pr-str (meta %)))
  6. objects)))
  7. :renderRow (fn objects-render-r-row [row section-id row-id]
  8. (let [row (j->c row)
  9. m (:omcljs$meta row)
  10. m (if m (reader/read-string m))
  11. row (with-meta (dissoc row :omcljs$meta) m)]
  12. (with-om-vars this
  13. (objects-row row))))
  14. :style (:list styles)})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement