     [om.dom :as dom]
     [goog.object :as gobj]
     [goog.dom :as gdom]
-    [goog.events :as gevt]
-    [figwheel.client.heads-up :refer [heads-up-event-dispatch]])
+    [goog.events :as gevt])
   (:import
     goog.events.EventType))
 

             :node-clone (atom #js {})
             :prev-on-click (atom #js {})
             :remove-all-listeners remove-all-listeners
             :install-listeners install-listeners}]
    (remove-all-listeners)
    (add-listener EventType.MOUSEMOVE (highlight-element ctx))
    (add-listener EventType.CLICK (inspect-element ctx))
    (add-and-remove-listener EventType.KEYPRESS (toggle-devtools ctx))))

(defn wrap-render [meta-info {:keys [this class]} body]
  (dom/div #js {:data-untangled-ui meta-info}
    body))

          (gobj/set js/window "attached-listeners" (atom #{})))
    (gobj/get js/window "attached-listeners")))

(defn install-listeners [& {:keys [select-file]}]
  (let [add-listener (fn [et f] (swap! attached-listeners conj (gevt/listen js/document et f)))
        remove-and-add-listener
        (fn [et f]
          (gevt/unlistenByKey (gobj/get js/window "keypress-listener"))
          (gobj/set js/window "keypress-listener"
