Permalink
Browse files

Allow source from clojure.repl in addition to doc

  • Loading branch information...
1 parent 68834e7 commit 10644117c4b51f18e12530869bc6ff8abcb0939d @devth committed Oct 1, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/tryclojure/models/eval.clj
@@ -22,7 +22,7 @@
(defn make-sandbox []
(sandbox try-clojure-tester
:timeout 2000
- :init '(do (require '[clojure.repl :refer [doc]])
+ :init '(do (require '[clojure.repl :refer [doc source]])
(future (Thread/sleep 600000)
(-> *ns* .getName remove-ns)))))
@@ -37,4 +37,4 @@
(catch TimeoutException _
{:error true :message "Execution Timed Out!"})
(catch Exception e
- {:error true :message (str (root-cause e))})))
+ {:error true :message (str (root-cause e))})))

0 comments on commit 1064411

Please sign in to comment.