Skip to content

Commit

Permalink
Updated to new sandbox, fixed some typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
Licenser committed May 14, 2010
1 parent 650763d commit ce0465b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion project.clj
Expand Up @@ -4,7 +4,7 @@
[org.clojure/clojure-contrib "1.1.0"] [org.clojure/clojure-contrib "1.1.0"]
[net.cgrand/moustache "1.0.0-SNAPSHOT"] [net.cgrand/moustache "1.0.0-SNAPSHOT"]
[ring/ring-jetty-adapter "0.2.0"] [ring/ring-jetty-adapter "0.2.0"]
[clj-sandbox "0.3.4"] [clj-sandbox "0.3.5"]
[hiccup "0.2.3"]] [hiccup "0.2.3"]]
:dev-dependencies [[swank-clojure "1.2.0-SNAPSHOT"] :dev-dependencies [[swank-clojure "1.2.0-SNAPSHOT"]
[leiningen/lein-swank "1.1.0"] [leiningen/lein-swank "1.1.0"]
Expand Down
6 changes: 3 additions & 3 deletions src/tryclojure/core.clj
Expand Up @@ -28,9 +28,9 @@
(catch TimeoutException _ (catch TimeoutException _
{:exception "Execution Timed Out!"}) {:exception "Execution Timed Out!"})
(catch SecurityException e (catch SecurityException e
{:exception (str e)}) {:exception (str "Execution: " e)})
(catch Exception 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))) (defn str-join [stuff] (apply str (interpose "\n" stuff)))


Expand Down Expand Up @@ -67,7 +67,7 @@ SyntaxHighlighter.config.tagName = 'div';
[:div#console {:class "console"}] [:div#console {:class "console"}]
[:p#note [:p#note
"Many thanks to " "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] " - 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."] "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"} [:script {:type "text/javascript"}
Expand Down

0 comments on commit ce0465b

Please sign in to comment.