 (sente/start-chsk-router! ch-chsk event-handler)
 
 (defn main []
-  (om/root
+  #_(om/root
     ankha/inspector
     app-state
     {:target (js/document.getElementById "ankha")})

                       (dom/th "Time")
                       (dom/th "fn")))
                   (dom/tbody ;{:height "500px" :position "absolute" :overflow-y "scroll"}
                              (for [entry (reverse (sort-by :created-at entries))] 
                                (dom/tr {:title (str (om/value entry))}
                                        (dom/td (str (:id (:args entry))))
                                        (dom/td (str (js/Date. (:created-at entry))))
                                        (dom/td (str (:fn entry))))))))))


(defcomponent job-info [{:keys [selected-job jobs]} owner]
  (render [_]
          (if (and selected-job jobs)
            (let [job (jobs selected-job)] 
              (dom/div 
                (dom/div (str (om/value job)))
                (if-let [catalog (:catalog job)]
                  (om/build catalog-view catalog {})))))))

(defn event-handler [{:keys [event]}]
  (let [[msg-type msg] event]
