Permalink
Browse files

Merge pull request #1 from arohner/master

clojure 1.3 compatibility
  • Loading branch information...
2 parents c7ad240 + fc59d5c commit a91745d08854953de496573328744378aad36bc9 @lancepantz lancepantz committed Sep 20, 2011
Showing with 2 additions and 4 deletions.
  1. +0 −1 project.clj
  2. +2 −3 src/clj_yaml/core.clj
View
@@ -3,5 +3,4 @@
:url "http://github.com/lancepantz/clj-yaml"
:dependencies
[[org.clojure/clojure "1.2.0-RC3"]
- [org.clojure/clojure-contrib "1.2.0-RC3"]
[org.yaml/snakeyaml "1.5"]])
View
@@ -1,8 +1,7 @@
(ns clj-yaml.core
- (:import (org.yaml.snakeyaml Yaml))
- (:use (clojure.contrib [def :only (defvar-)])))
+ (:import (org.yaml.snakeyaml Yaml)))
-(defvar- yaml (Yaml.))
+(def ^{:private true} yaml (Yaml.))
(defn- stringify [data]
(cond

0 comments on commit a91745d

Please sign in to comment.