cljs.repl.rhino/load-file

functionremoved v1.10.738added v0.0-2985Edit
(load-file repl-env opts src)

Source docstring:
Load a JavaScript. This is needed to load JavaScript files before the Rhino
environment is bootstrapped. After bootstrapping load-javascript will be
used.
Source code @ clojurescript:src/main/clojure/cljs/repl/rhino.clj
(defn load-file
  [repl-env opts src]
  (let [goog-path (io/file (util/output-directory opts) "goog" src)]
    (rhino-eval repl-env (.getPath goog-path) 1 (io/reader goog-path))))