prep for release
This commit is contained in:
parent
663c07baaf
commit
75bd554624
2 changed files with 6 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
(defproject org.domaindrivenarchitecture/c4k-common-cljs "2.0.2-SNAPSHOT"
|
(defproject org.domaindrivenarchitecture/c4k-common-cljs "2.0.2"
|
||||||
:description "Contains predicates and tools for c4k"
|
:description "Contains predicates and tools for c4k"
|
||||||
:url "https://domaindrivenarchitecture.org"
|
:url "https://domaindrivenarchitecture.org"
|
||||||
:license {:name "Apache License, Version 2.0"
|
:license {:name "Apache License, Version 2.0"
|
||||||
|
|
|
@ -19,3 +19,8 @@
|
||||||
(keyword (first (st/split resource #"/"))))
|
(keyword (first (st/split resource #"/"))))
|
||||||
|
|
||||||
(defmulti load-resource dispatch-by-resource-name)
|
(defmulti load-resource dispatch-by-resource-name)
|
||||||
|
|
||||||
|
(defmulti load-as-edn dispatch-by-resource-name)
|
||||||
|
|
||||||
|
(defmethod load-as-edn :clj [resource-name]
|
||||||
|
(from-string (load-resource resource-name)))
|
||||||
|
|
Loading…
Reference in a new issue