 
 (defn remove-document
   "Removes a document from localStorage and updates app state. If the
-   removed document was the current document, also triggers a document
-   state reset."
+  removed document was the current document, also triggers a document
+  state reset."
   [app title]
   (p/remove-document title)
   (om/update! app :titles (p/get-all-titles))


(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)


(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."
  [app owner]
  (reify
    om/IRender
