 
 (sablono/defhtml compile-menu [prj-key prj]
   [:div.menu-b4b27
+    {:on-click #(.stopPropagation %)}
     [:div.auto-option-8a122
       [:label.label-ec878
         {:on-click #(toggle-auto-compile prj-key)}

;;------------------------------------------------------------------------------
;; Events
;;------------------------------------------------------------------------------

;; NOTE: this could be simplified with a go-loop?
(defn- handle-compiler-output

;; Init
;;------------------------------------------------------------------------------

(def events-added? (atom false))

(defn- add-events!
  "Add events that are outside the react.js event system.
   NOTE: this is a run-once function"
  []
  (when-not @events-added?
    ;; TODO: we may not even use this
    (reset! events-added? true)))

(defn init! []
  (add-events!)
  ;; trigger the initial render
  (swap! state identity))