 
 
 (om/root
-    (fn [{:keys [stream cells win-state moves tick tick-ms grid-size media-error?] :as app} _]
+    (fn [{:keys [stream cells win-state moves tick-ms grid-size media-error? show-nums] :as app} _]
       (reify
         om/IDidMount
         (did-mount [_]

          (dom/label nil (inc n))))))


(defn grid [{:keys [grid-px] :as app}]
  (om/component
    (apply dom/div #js {:className "grid" :style #js {:width grid-px :height grid-px}}
      (map (partial cell app) (:cells app)))))

(defn set-grid-size! [app size]
  (when (and (integer? size) (> size 1) (< size 10))

                      :step     "1"
                      :onChange #(set-grid-size! app (js/parseInt (.. % -target -value)))})

                    (dom/label nil "playback speed")
                    (dom/input #js {
                      :type     "range"
                      :value    (- tick-ms)
