File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -265,7 +265,7 @@ present"
265265 repl/*repl-opts* opts
266266 ana/*verbose* (:verbose opts)]
267267 (when ana/*verbose*
268- (util/debug-prn " Compiler options:" repl/*repl-opts*))
268+ (util/debug-prn " Compiler options:" ( pr-str repl/*repl-opts*) ))
269269 (comp/with-core-cljs repl/*repl-opts*
270270 (fn []
271271 (repl/setup renv repl/*repl-opts*)
Original file line number Diff line number Diff line change 177177 " var CLOSURE_NO_DEPS = true;\n "
178178 " document.write('<script src=\" out/goog/base.js\" ></script>');\n "
179179 " document.write('<script src=\" out/goog/deps.js\" ></script>');\n "
180- " document.write('<script src=\" out/cljs_deps.js\" ></script>');\n "
180+ (when (.exists (io/file " out" " cljs_deps.js" ))
181+ " document.write('<script src=\" out/cljs_deps.js\" ></script>');\n " )
182+ " document.write('<script src=\" out/brepl_deps.js\" ></script>');\n "
181183 " document.write('<script>goog.require(\" clojure.browser.repl.preload\" );</script>');\n " )
182184 " text/javascript" " UTF-8" ))
183185 :else (server/send-404 conn path)))
289291 (io/file working-dir " brepl_client.js" )))))
290292 ; ; TODO: this could be cleaner if compiling forms resulted in a
291293 ; ; :output-to file with the result of compiling those forms - David
292- (when (and output-dir (not (.exists (io/file output-dir))))
293- (spit (io/file " out/cljs_deps .js" )
294+ (when (and output-dir (not (.exists (io/file output-dir " clojure " " browser " " repl " " preload.js " ))))
295+ (spit (io/file " out/brepl_deps .js" )
294296 (build/build
295297 '[(require '[clojure.browser.repl.preload])] {:optimizations :none })))
296298 (repl/err-out
You can’t perform that action at this time.
0 commit comments