From 9996f11a17833f7c76f7223a194f0bf75322efad Mon Sep 17 00:00:00 2001 From: Andrew Shewring Date: Mon, 14 Aug 2017 17:34:13 +1200 Subject: [PATCH] Fixed some typos --- examples/simple/src/simple/core.cljs | 2 +- examples/todomvc/src/todomvc/db.cljs | 2 +- examples/todomvc/src/todomvc/subs.cljs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/simple/src/simple/core.cljs b/examples/simple/src/simple/core.cljs index a6da9bd..b3bad79 100644 --- a/examples/simple/src/simple/core.cljs +++ b/examples/simple/src/simple/core.cljs @@ -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 ----------------------------------------------- diff --git a/examples/todomvc/src/todomvc/db.cljs b/examples/todomvc/src/todomvc/db.cljs index 281eb9e..f911c6f 100644 --- a/examples/todomvc/src/todomvc/db.cljs +++ b/examples/todomvc/src/todomvc/db.cljs @@ -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 ----------------------------------------------------- diff --git a/examples/todomvc/src/todomvc/subs.cljs b/examples/todomvc/src/todomvc/subs.cljs index 492afb7..50283de 100644 --- a/examples/todomvc/src/todomvc/subs.cljs +++ b/examples/todomvc/src/todomvc/subs.cljs @@ -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.