Permalink
Browse files

Merge pull request #24 from devth/master

Can we add `clojure.repl/source` to tryclojure?
  • Loading branch information...
2 parents 68834e7 + 1064411 commit 1f0c17999422558b8e9d653afb7a2cfa0b8126ee @Raynes 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 1f0c179

Please sign in to comment.