Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated to new sandbox, fixed some typos.

  • Loading branch information...
commit ce0465b3f81dfafeffaed654eb594fde5b8d5cf8 1 parent 650763d
@Licenser Licenser authored
Showing with 4 additions and 4 deletions.
  1. +1 −1  project.clj
  2. +3 −3 src/tryclojure/core.clj
View
2  project.clj
@@ -4,7 +4,7 @@
[org.clojure/clojure-contrib "1.1.0"]
[net.cgrand/moustache "1.0.0-SNAPSHOT"]
[ring/ring-jetty-adapter "0.2.0"]
- [clj-sandbox "0.3.4"]
+ [clj-sandbox "0.3.5"]
[hiccup "0.2.3"]]
:dev-dependencies [[swank-clojure "1.2.0-SNAPSHOT"]
[leiningen/lein-swank "1.1.0"]
View
6 src/tryclojure/core.clj
@@ -28,9 +28,9 @@
(catch TimeoutException _
{:exception "Execution Timed Out!"})
(catch SecurityException e
- {:exception (str e)})
+ {:exception (str "Execution: " e)})
(catch Exception e
- {:exception (str (.getMessage (root-cause e)))})))
+ {:exception (str "Execution: " (.getMessage (root-cause e)))})))
(defn str-join [stuff] (apply str (interpose "\n" stuff)))
@@ -67,7 +67,7 @@ SyntaxHighlighter.config.tagName = 'div';
[:div#console {:class "console"}]
[:p#note
"Many thanks to "
- [:a {:href "http://tryhaskel.org"} "tryhaskel"]
+ [:a {:href "http://tryhaskell.org/"} "tryhaskell"]
" - their javascript for the repl console is great and we are using it as the base for try-clojure.org." [:br]
"Also many thanks to Raynes, " [:a {:href "http://tryclj.licenser.net/"} "his code"] " is what this version of try clojure is based on."]
[:script {:type "text/javascript"}
Please sign in to comment.
Something went wrong with that request. Please try again.