cljs.repl.browser/load-javascript

functionsince v0.0-927Edit
(load-javascript repl-env provides url)

Source docstring:
Accepts a REPL environment, a list of namespaces, and a URL for a
JavaScript file which contains the implementation for the list of
namespaces. Will load the JavaScript file into the REPL environment
if any of the namespaces have not already been loaded from the
ClojureScript REPL.
Source code @ clojurescript:src/main/clojure/cljs/repl/browser.clj
(defn load-javascript
  [repl-env provides url]
  (browser-eval (slurp url)))