Skip to content

Commit f0c7d4c

Browse files
martinklepschswannodette
authored andcommitted
fix goog-define docstring
add-implicit-options only munges symbol keys, string keys remain untouched
1 parent 27af25a commit f0c7d4c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/main/clojure/cljs/core.cljc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,10 @@
698698
(ns your-app.core)
699699
(goog-define DEBUG! false)
700700
;; can be overridden with
701-
:closure-defines {\"your-app.core.DEBUG!\" true}"
701+
:closure-defines {\"your-app.core.DEBUG_BANG_\" true}
702+
or
703+
:closure-defines {'your-app.core/DEBUG! true}"
704+
702705
[sym default]
703706
(assert-args goog-define
704707
(core/or (core/string? default)

0 commit comments

Comments
 (0)