Welcome! Please see the About page for a little more info on how this works.

0 votes
in ClojureScript by

(browser.repl/connect) calls (bootstrap), which monkey-patches goog.require to write scripts to js/document.body (line 149).

If you call this from , before exists, you will get an error.

Google Closure handles this situation by writing to head in goog.appendScriptSrcNode_, so perhaps that will work.

2 Answers

0 votes
by

Comment made by: kingmob

(Minor point: the version is the oldest version this affects, but it is in fact current as of 1.9.946)

Unfortunately, I can't seem to edit the version after submission.

0 votes
by
Reference: https://clojure.atlassian.net/browse/CLJS-2483 (reported by alex+import)
...