I am (still) new to ClojureScript an understand the browser repl makes use of an iframe. I am trying to introduce the ClojureScript application in an existing app and it would be convenient to add the generated JavaScript to in the head of the document. Doing so unfortunately breaks clojure.browser.repl/connect
trying to add the iframe to an undefined
parent element in goog.net.xpc.CrossPageChannel.prototype.createPeerIframe
.
Is there a reasonable approach to make the compiled JavaScript work when you put the script
element in the head
of the document?