newlines and eof newline

This commit is contained in:
Rob Jentzema 2016-03-26 09:57:34 +00:00 committed by Daniel Compton
parent 71d0bf21b8
commit be6c53131d
6 changed files with 6 additions and 2 deletions

View File

@ -4,3 +4,4 @@
(fw/start {:on-jsload example/run
:websocket-url "ws://localhost:3449/figwheel-ws"})

View File

@ -112,3 +112,4 @@
(dispatch-sync [:initialize])
(reagent/render [simple-example]
(js/document.getElementById "app")))

View File

@ -32,3 +32,4 @@
(dispatch-sync [:initialise-db])
(reagent/render [todomvc.views/todo-app]
(.getElementById js/document "app")))

View File

@ -31,7 +31,6 @@
)})
;; -- Default app-db Value ---------------------------------------------------
;;
;; When the application first starts, this will be the value put in app-db
@ -44,7 +43,6 @@
:showing :all}) ;; show all todos
;; -- Local Storage ----------------------------------------------------------
;;
;; Part of the todomvc challenge is to store todos in LocalStorage, and
@ -66,3 +64,4 @@
"Puts todos into localStorage"
[todos]
(.setItem js/localStorage lsk (str todos))) ;; sorted-map writen as an EDN map

View File

@ -48,3 +48,4 @@
active-count (- (count todos) completed-count)
showing (:showing @db)]
[active-count completed-count showing])))) ;; tuple

View File

@ -93,3 +93,4 @@
[stats-footer]])]
[:footer.info
[:p "Double-click to edit a todo"]]])))