aboutsummaryrefslogtreecommitdiff
path: root/clojurescript/t02.cljs
diff options
context:
space:
mode:
Diffstat (limited to 'clojurescript/t02.cljs')
-rw-r--r--clojurescript/t02.cljs4
1 files changed, 2 insertions, 2 deletions
diff --git a/clojurescript/t02.cljs b/clojurescript/t02.cljs
index e25d0543..850a55c6 100644
--- a/clojurescript/t02.cljs
+++ b/clojurescript/t02.cljs
@@ -14,9 +14,9 @@
(for [elem (.getElementsByTagName document "script")]
(do
(prn :next)
- (if-let src (.src elem)
+ (if-let [src (.src elem)]
src
"--none--"))))
-(doseq src (my-take 2 (script-src))
+(doseq [src (my-take 2 (script-src))]
(prn src))