From 2313c9d509a76d0da023bf0d297b7bdfe1da416e Mon Sep 17 00:00:00 2001 From: Prof Gra Date: Thu, 13 Jul 2017 15:37:27 +0200 Subject: [PATCH 1/2] Fix typo in comments of simple/core.cljs --- examples/simple/src/simple/core.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/simple/src/simple/core.cljs b/examples/simple/src/simple/core.cljs index cd656a5..ccc0ac2 100644 --- a/examples/simple/src/simple/core.cljs +++ b/examples/simple/src/simple/core.cljs @@ -13,7 +13,7 @@ (rf/dispatch [:timer now]))) ;; <-- dispatch used ;; Call the dispatching function every second. -;; `defonce` is like `def` but it ensures only instance is ever +;; `defonce` is like `def` but it ensures only instance one is ever ;; created in the face of figwheel hot-reloading of this file. (defonce do-timer (js/setInterval dispatch-timer-event 1000)) From 2ce934635c2f034bf12e0dcda9138d51944e0c02 Mon Sep 17 00:00:00 2001 From: Christophe Gragnic Date: Fri, 14 Jul 2017 07:14:55 +0200 Subject: [PATCH 2/2] Fix my fix 'only one instance' --- examples/simple/src/simple/core.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/simple/src/simple/core.cljs b/examples/simple/src/simple/core.cljs index ccc0ac2..4fc5882 100644 --- a/examples/simple/src/simple/core.cljs +++ b/examples/simple/src/simple/core.cljs @@ -13,7 +13,7 @@ (rf/dispatch [:timer now]))) ;; <-- dispatch used ;; Call the dispatching function every second. -;; `defonce` is like `def` but it ensures only instance one is ever +;; `defonce` is like `def` but it ensures only one instance is ever ;; created in the face of figwheel hot-reloading of this file. (defonce do-timer (js/setInterval dispatch-timer-event 1000))