We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 952096f commit 37ce674Copy full SHA for 37ce674
src/main/clojure/cljs/core.cljc
@@ -685,7 +685,7 @@
685
:cljs (new js/Error (core/str "Unsupported binding key: " (ffirst kwbs)))))
686
(reduce process-entry [] bents)))))
687
688
-(core/defmacro define
+(core/defmacro goog-define
689
"Defines a var using `goog.define`. Passed default value must be
690
string, number or boolean.
691
@@ -694,11 +694,11 @@
694
695
Example:
696
(ns your-app.core)
697
- (define DEBUG! false)
+ (goog-define DEBUG! false)
698
;; can be overridden with
699
:closure-defines {\"your-app.core.DEBUG!\" true}"
700
[sym default]
701
- (assert-args define
+ (assert-args goog-define
702
(core/or (core/string? default)
703
(core/number? default)
704
(core/true? default)
0 commit comments