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