     (assert deps "Can't find goog/deps.js in classpath")
     (swap! current-repl-env (fn [old] new-repl-env))
     (ScriptableObject/putProperty scope
-                                  "___repl_env"
-                                  (Context/javaToJS new-repl-env scope))
+      "___repl_env" (Context/javaToJS new-repl-env scope))
     (with-open [r (io/reader base)]
       (-eval r new-repl-env "goog/base.js" 1))
     (-eval bootjs new-repl-env "bootjs" 1)


(defn goog-require [repl-env opts rule]
  (when-not (contains? @(:loaded-libs repl-env) rule)
    (let [repl-env @current-repl-env
          path (string/replace (comp/munge rule) \. java.io.File/separatorChar)
          cljsc-path (str (util/output-directory opts)
                       File/separator (str path ".js"))
          cljs-path (str path ".cljs")
          js-path (str "goog/"
                    (-eval (str "goog.dependencies_.nameToPath['" rule "']")
                      repl-env
                      "<cljs repl>"
                      1))]
      (let [compiled (io/file cljsc-path)]
        (if (.exists compiled)
          ;; TODO: only take this path if analysis cache is available


(defmethod eval-result nil [_] "")

(defmethod eval-result Undefined [_] "")

;; =============================================================================

(defn rhino-eval
  [repl-env filename line js]
