We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 203d853 commit f6d743bCopy full SHA for f6d743b
samples/nodehello.cljs
@@ -1,8 +1,10 @@
1
-(ns nodehello)
+(ns nodehello
2
+ (:require [cljs.nodejs :as nodejs]))
3
4
(defn -main [& args]
5
(println (apply str (map [\space "world" "hello"] [2 0 1]))))
6
7
+(nodejs/enable-util-print!)
8
(set! *main-cli-fn* -main)
9
10
(comment
samples/nodels.cljs
@@ -14,4 +14,5 @@
14
(defn -main [& paths]
15
(dorun (map println (mapcat file-seq paths))))
16
17
18
0 commit comments