diff --git a/CHANGES.md b/CHANGES.md index e880a4f..7704a02 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,10 @@ +## 0.2.1 React 14 + +* now depends on React 14 +* fixing the `:watch-atom false` option +* added the `:actual` output for failing tests +* allowing the config of default card options + ## 0.2.0-8 Improved Reagent support * **added `devcards.core/devcard-rg`** as a shortcut to defining diff --git a/README.md b/README.md index 59be11f..3e4693d 100644 --- a/README.md +++ b/README.md @@ -156,11 +156,10 @@ interface responds. First make sure you include the following `:dependencies` in your `project.clj` file. ```clojure -[org.clojure/clojurescript "1.7.122"] -[devcards "0.2.0-8"] +[org.clojure/clojurescript "1.7.170"] +[devcards "0.2.1"] ``` - You will need an HTML file to host the devcards interface. It makes sense to have a separate file to host devcards. I would create the following `resources/public/cards.html` file (this is the same diff --git a/example_src/devdemos/testing.cljs b/example_src/devdemos/testing.cljs index 031becf..6c40a17 100644 --- a/example_src/devdemos/testing.cljs +++ b/example_src/devdemos/testing.cljs @@ -195,15 +195,11 @@ The following example shows this usage: ``` ") - (defcard some-tests (dc/tests "## this should show up" (is (= 1 1)) (is (= 1 2)))) - - - #_(js/setTimeout (fn [] (cljs.test/run-tests 'devdemos.testing)) 500) diff --git a/project.clj b/project.clj index c958c7c..94b614e 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject devcards "0.2.1-SNAPSHOT" +(defproject devcards "0.2.1" :description "Devcards is a ClojureScript library that provides a lab space to you develop your UI components independently and interactively." :url "http://github.com/bhauman/devcards" :license {:name "Eclipse Public License"