Permalink
Browse files

refactors resource path

  • Loading branch information...
1 parent 23ec3c3 commit c844ae1d8ae6f506b5ec604f64624b319c69c759 @mylesmegyesi committed Mar 29, 2013
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/sass/core.clj
View
@@ -6,15 +6,15 @@
[chee.coerce :refer [->string ->keyword]]
[zweikopf.core :refer :all]))
+(defn- resource-path [path]
+ (.getPath (resource path)))
+
(defn- init-sass []
- (ruby-require (.getPath (resource "sass-3.2.6/lib/sass.rb"))))
+ (ruby-require (resource-path "sass-3.2.6/lib/sass.rb")))
(init-ruby-context)
(init-sass)
-(defn- resource-path [path]
- (.getPath (resource path)))
-
(defn- underscore-key [k]
(->keyword (snake-case (->string k))))

0 comments on commit c844ae1

Please sign in to comment.