                      [:div.text-center
                       (vlib/view-header (t :references :usages/not-found-lead))
                       [:p (t :references :usages/not-found-body) "."]])]))))
-(def usages-view-next (nom/factory UsagesView))
+(def usages-view-next (om/factory UsagesView))
 
 (defui ReferenceView
   "Nested reference link in text."
   Object
   (render [this]
-          (let [{:keys [text url id dom-pre dom-post]} (nom/props this)]
+          (let [{:keys [text url id dom-pre dom-post]} (om/props this)]
             (html [:span
                    [:span dom-pre]
                    [:span.arguments.pointer {:onClick #(click-reference (Reference. id text url))}
                     text " " (vlib/logo)]
                    [:span dom-post]]))))
-(def reference (nom/factory ReferenceView))
+(def reference (om/factory ReferenceView))


(defui ReferenceUsageForSingleArgumentView
  "Build single usage of a reference in an argument."
  static nom/IQuery
  (query [this]
         `[:argument])
  Object
  (render [this]
          (let [{:keys [argument]} (nom/props this)
                {:keys [author issue]} argument]
            (html [:div.bs-callout.bs-callout-info
                   [:div.pull-right

  "Handle interaction with already existing references, for example showing
  usages in other statements / arguments or providing a form to use it in the
  own statement."
  (:require [om.next :as om :refer-macros [defui]]
            [clojure.spec.alpha :as s]
            [goog.string :refer [format]]
            [goog.string.format]
