                           :key-class "object-key"
                           :val-class "object-val"}))
    :else
-   (sequential->dom data)))
+   (om/build sequential->dom data)))
 
 (defn- toggle-button [owner {:keys [disable?]}]
   (dom/button #js {:className "toggle-button"

                                     :verticalAlign "top"}}
            (inspect v)))))))

(defn sequential->dom [data]
  (into-array
    (for [[i x :as pair] (map-indexed vector data)]
      (dom/li #js {:className "entry"
                   :key (hash-key pair)}
        (inspect x)))))

(defn coll->dom [data]
  (cond


    om/IRenderState
    (render-state [_ {:keys [open? vacant? editing? edited-data editing-error-message open-editor save-editor cancel-editor]}]
      (dom/div #js {:className class}
        (toggle-button owner {:disable? vacant?})

        (when open?
