       (prn (if (om/cursor? sv) "cursor" "not cursor"))
       (dom/div #js {:className "satisfaction_vector"}
                (dom/h2 nil "Satisfaction vector")
-               (dom/div #js {:className "contents"}
-
+               (apply dom/div #js {:className "contents"}
                         (om/build-all single-value sv)
                         )))))
 

(defn bind-state [{:keys [ws] :as data}]
  (go-loop []
    (when-let [{update :message} (<! ws)]
;      (prn update)
;      (om/transact! data #(make-new-state % (reader/read-string update)))
      (recur))))

(defn single-value [{:keys [id name value] :as c} owner opts]

    om/IRender
    (render [_]
      (prn "valence arousal" va)
      (apply dom/div #js {:className "valence_arousal"}
               (om/build-all single-value va {:key :id})))))


