Skip to content

Instantly share code, notes, and snippets.

@claudiuapetrei
Last active November 1, 2017 07:38
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 claudiuapetrei/9724b5937790d3ed955f5db4468473b8 to your computer and use it in GitHub Desktop.
Save claudiuapetrei/9724b5937790d3ed955f5db4468473b8 to your computer and use it in GitHub Desktop.
(defui ^:once GrantListingBase
static om/IQuery
(query [this] [:id
:title
:authors_str])
static f-css/CSS
(local-rules [this] css)
(include-children [this] [])
(defui ^:once GrantListingLinkUserEl
static om/IQuery
(query [this] (into []
(concat
(om/get-query GrantListingBase)
[:linked?])))
static om/Ident
(ident [this props] [:grant/by-id (:id props)])
static f-css/CSS
(local-rules [this] g-css)
(include-children [this] [GrantListingBase])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment