Skip to content

Commit 8ff447c

Browse files
martinklepschswannodette
authored andcommitted
CLJS-1393: turn *target* into goog-define
1 parent e351c98 commit 8ff447c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main/cljs/cljs/core.cljs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,12 @@
1717

1818
(def *unchecked-if* false)
1919

20-
(def
20+
(goog-define
2121
^{:dynamic true
2222
:doc "Var bound to the name value of the compiler build :target option.
2323
For example, if the compiler build :target is :nodejs, *target* will be bound
2424
to \"nodejs\". *target* is a Google Closure define and can be set by compiler
25-
:closure-defines option."
26-
:jsdoc ["@define {string}"]}
25+
:closure-defines option."}
2726
*target* "default")
2827

2928
(def

0 commit comments

Comments
 (0)