Skip to content

Commit

Permalink
fix README version
Browse files Browse the repository at this point in the history
  • Loading branch information
tonsky committed Nov 28, 2018
1 parent d615089 commit 5757862
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ Rum:

## Using Rum

Add to project.clj: `[rum "0.11.2"]`
Add to project.clj: `[rum "0.11.3"]`

### API Docs
### API Docs & Articles

[![cljdoc badge](https://cljdoc.xyz/badge/rum/rum)](https://cljdoc.xyz/d/rum/rum/CURRENT)
[![cljdoc badge](https://cljdoc.org/badge/rum/rum)](https://cljdoc.org/d/rum/rum/CURRENT)

### Defining a component

Expand Down Expand Up @@ -532,7 +532,7 @@ To define child context

If used from clj/cljc, Rum works as a traditional template engine à la Hiccup:

1. Rum’s `project.clj` dependency becomes `[rum "0.11.2" :exclusions [cljsjs/react cljsjs/react-dom sablono]`
1. Rum’s `project.clj` dependency becomes `[rum "0.11.3" :exclusions [cljsjs/react cljsjs/react-dom sablono]`
2. Import `rum.core` as usual.
3. Define components using `rum/defc` or other macros as usual.
4. Instead of mounting, call `rum/render-html` to render into a string.
Expand Down
2 changes: 1 addition & 1 deletion src/rum/core.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@
(fn [a b]
(str a \":\" b))))
(type *x) ;; => clojure.lang.Atom
(type *x) ;; => clojure.lang.Atom
(deref *x) ;; => \"0:1\"
(swap! *a inc)
Expand Down

0 comments on commit 5757862

Please sign in to comment.