Skip to content

Instantly share code, notes, and snippets.

@sritchie
Created July 18, 2014 16:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sritchie/1d202fc672ddf905cd13 to your computer and use it in GitHub Desktop.
Save sritchie/1d202fc672ddf905cd13 to your computer and use it in GitHub Desktop.
(let [pricing (:pricing static)
cursor (map (fn [e]
{:event e
:pricing pricing
:selection (-> dynamic :entries (get (:id e)))
:payment-method :credit-card})
(:events static))]
(d/div {} (om/build-all event-row cursor
{:init-state {:update (:update @state)}})))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment