Merge pull request #396 from ashewring/for-upstream

Fixed some typos
This commit is contained in:
Mike Thompson 2017-09-06 23:43:54 +10:00 committed by GitHub
commit 6594a69ed2
3 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@
[re-frame.core :as rf]
[clojure.string :as str]))
;; A detailed walk-through of this source code is provied in the docs:
;; A detailed walk-through of this source code is provided in the docs:
;; https://github.com/Day8/re-frame/blob/master/docs/CodeWalkthrough.md
;; -- Domino 1 - Event Dispatch -----------------------------------------------

View File

@ -61,7 +61,7 @@
(defn todos->local-store
"Puts todos into localStorage"
[todos]
(.setItem js/localStorage ls-key (str todos))) ;; sorted-map writen as an EDN map
(.setItem js/localStorage ls-key (str todos))) ;; sorted-map written as an EDN map
;; -- cofx Registrations -----------------------------------------------------

View File

@ -9,7 +9,7 @@
;; Layer 2 query functions are "extractors". They take from `app-db`
;; and don't do any further computation on the extracted values. Any further
;; computation should happen in Layer 3.
;; Why? It is an efficiency thing. Every Layer 2 subscriptions will rerun anytime
;; Why? It is an efficiency thing. Every Layer 2 subscription will rerun any time
;; that `app-db` changes (in any way). As a result, we want Layer 2 to be trivial.
;;
(reg-sub
@ -62,7 +62,7 @@
;; This function returns the input signals.
;; In this case, it returns a single signal.
;; Although not required in this example, it is called with two paramters
;; Although not required in this example, it is called with two parameters
;; being the two values supplied in the originating `(subscribe X Y)`.
;; X will be the query vector and Y is an advanced feature and out of scope
;; for this explanation.