                                    path trim-v debug]]))
 
 ;; TODOs
-;; add .gitignore
 ;; Get preoject.cljs up to speed  `lein run`  lein debug`
 ;; split into files  view, handlers, subs, middleware
 ;; load todos off localstorage via merge ... and write back
 ;; Show off debugging capabiliteis
 ;; Add Prismatic schema - modules called state
-;; change example.html to todo.html
-;; add middleware to save to local storage - beware using
-;; check that (path )  does an identity test before swaping back in
+;; add middleware to save to local storage
 
 ;; -- Helpers -------------
+
 (enable-console-print!)
 
 (defn next-id

  (dispatch [:initialise-db])
  (reagent/render [main-panel] (js/document.getElementById "app")))

                 ;; you must always return the db
        stop #(do (reset! val "")
                  (if on-stop (on-stop)))
        save #(let [v (-> @val str clojure.string/trim)]
               (if-not (empty? v) (on-save v))
               (stop))]
    (fn [props]
      [:input (merge props
                     {:type "text"
