Browse files

Using empty-env function in rhino repl too

  • Loading branch information...
1 parent 67f55ee commit ca63aabd2183ff0097052e8c7b1f0501a11fc007 @raph-amiard raph-amiard committed with David Nolen Jun 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/clj/cljs/repl/rhino.clj
@@ -93,7 +93,7 @@
(swap! loaded-libs (partial apply conj) missing)))))
(defn rhino-setup [repl-env]
- (let [env {:context :statement :locals {} :ns (@comp/namespaces comp/*cljs-ns*)}
+ (let [env (comp/empty-env)
scope (:scope repl-env)]
(repl/load-file repl-env "cljs/core.cljs")
(swap! loaded-libs conj "cljs.core")

0 comments on commit ca63aab

Please sign in to comment.