Skip to content

Commit 0c55755

Browse files
committed
just export the special Google config directly to window
1 parent 538dbe8 commit 0c55755

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/clojure/cljs/closure.clj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1747,8 +1747,8 @@
17471747
"import {npmDeps} from \"./npm_deps.js\";\n")
17481748
(when (or (not module) (= :cljs-base (:module-name opts)))
17491749
(str
1750-
"var CLOSURE_UNCOMPILED_DEFINES = " closure-defines ";\n"
1751-
"var CLOSURE_NO_DEPS = true;\n"
1750+
"window.CLOSURE_UNCOMPILED_DEFINES = " closure-defines ";\n"
1751+
"window.CLOSURE_NO_DEPS = true;\n"
17521752
"if(typeof goog == \"undefined\") document.write('<script src=\"" asset-path "/goog/base.js\"></script>');\n"
17531753
"document.write('<script src=\"" asset-path "/goog/deps.js\"></script>');\n"
17541754
"document.write('<script src=\"" asset-path "/cljs_deps.js\"></script>');\n"

0 commit comments

Comments
 (0)