     :change (change-document app params)
     :new    (new-document app)))
 
+;; Hot keys
+
 (defn listen-to-hotkeys
   "Listens to KEYDOWN events using goog.events and checks for Ctrl+S or 
   Cmd+S. When identified, sends a :save command on app channel."

       (.preventDefault %)
       (put! (:channel @app) [:save nil]))))

;; The main app

(defn wordsmith-app

            [wordsmith.persistence :as p]
            [cljs.core.async :refer [put! chan <!]]
            [goog.events :as events])
  (:import [goog.events EventType]
           [goog.async Throttle]))

(enable-console-print!)

