From 138f8c43275c5a9f83d35b36aed12b125a1598a1 Mon Sep 17 00:00:00 2001 From: mike Date: Thu, 9 Feb 2017 18:03:44 -0600 Subject: [PATCH] Fix typos. --- examples/simple/src/simple/core.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/simple/src/simple/core.cljs b/examples/simple/src/simple/core.cljs index 917b0a2..cd656a5 100644 --- a/examples/simple/src/simple/core.cljs +++ b/examples/simple/src/simple/core.cljs @@ -35,7 +35,7 @@ (rf/reg-event-db ;; usage: (dispatch [:timer a-js-Date]) :timer ;; every second an event of this kind will be dispatched - (fn [db [_ new-time]] ;; note how the 2nd parameter is desctructure to obtain the data value + (fn [db [_ new-time]] ;; note how the 2nd parameter is destructured to obtain the data value (assoc db :time new-time))) ;; compute and return the new application state @@ -43,7 +43,7 @@ (rf/reg-sub :time - (fn [db _] ;; db is current app state. 2nd usused param is query vector + (fn [db _] ;; db is current app state. 2nd unused param is query vector (-> db :time)))