Improve TodoMVC comment

This commit is contained in:
mike-thompson-day8 2015-03-09 16:38:14 +11:00
parent d875be528f
commit 188c25c953
1 changed files with 1 additions and 2 deletions

View File

@ -14,8 +14,7 @@
(def lsk "todos-reframe") ;; local store key (def lsk "todos-reframe") ;; local store key
(defn ls->todos (defn ls->todos
"Read in a map of todos from local storage, and process into a "Read in todos from LS, and process into a form we can merge into app-db."
sorted-map, suitable for merging into app-db."
[] []
(some->> (.getItem js/localStorage lsk) (some->> (.getItem js/localStorage lsk)
(cljs.reader/read-string) (cljs.reader/read-string)