Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make *root-dir* dynamic to stop the compiler moaning

  • Loading branch information...
commit d631d03988659f870b43d5c98999705fbdaabf27 1 parent e1e8d37
@wjlroe wjlroe authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/clj_exceptional.clj
View
6 src/clj_exceptional.clj
@@ -5,7 +5,7 @@
(:import [java.text SimpleDateFormat])
(:refer-clojure :exclude [try]))
-(def *root-dir* (.getAbsolutePath (java.io.File. "")))
+(def ^:dynamic *root-dir* (.getAbsolutePath (java.io.File. "")))
(def date-format "yyyy-MM-dd'T'HH:mm:ssZZZZ")
(def date-formatter (SimpleDateFormat. date-format))
(def _api-key (atom ""))
@@ -206,9 +206,9 @@
(comment
;; Examples from README
-
+
;; Please don't spam my account.
-
+
(key! "cfaabdee74ffc4d3e7c35391b0079629091f21c9")
(post-exc (Exception. "first example"))
Please sign in to comment.
Something went wrong with that request. Please try again.