Permalink
Browse files

change namespace and use require

  • Loading branch information...
Takahiro Hozumi
Takahiro Hozumi committed Sep 17, 2012
1 parent 86676c8 commit 357e8a270caa0e501a1448801a417a4ba62192bd
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
@@ -36,9 +36,9 @@ Above HTML will be converted to following and vice versa.
Add `[hiccup-bridge "1.0.0-SNAPSHOT"]` to your project dependencies, then:
```clojure
-(use '[to-hiccup.core :only [html->hiccup]])
+(require '[hiccup-bridge.core :as hicv])
-(html->hiccup "<foo><bar>buzz</bar></foo>")
+(hicv/html->hiccup "<foo><bar>buzz</bar></foo>")
;; -> ([:foo [:bar "buzz"]])
```
### Html to Hiccup

0 comments on commit 357e8a2

Please sign in to comment.