Created
July 18, 2014 16:34
-
-
Save sritchie/1d202fc672ddf905cd13 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
(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