 
 (defn save-button
   "Component that renders the save button. The button is disabled
-   when there are no changes to title or input. Clicking the save
-   button triggers the app state to update and saves to localStorage."
+  when there are no changes to title or input. Clicking the save
+  button triggers the app state to update and saves to localStorage."
   [app owner]
   (reify
     om/IRender


(defn wordsmith-app
  "The starting point of the wordsmith app. Implements will-mount and 
   render."
  [app owner]
  (reify
    om/IWillMount
    (will-mount [_]
      "Fetches document titles and starts the asynchronous command event 
       dispatch loop which handles all major app state changing events.
       Also attaches a KEYDOWN event listener to the page, for hot keys."
      (listen-to-hotkeys app)
      (om/update! app :titles (p/get-all-titles))
      (let [channel (:channel app)]


(defn saved?
  "Determines whether or not the app state has changed since last
  save."
  [{:keys [input last-input title last-title]}]
  (and
    (= input last-input)
