There's a mistake in the section about css file inclusion, you are
using include-js instead of include-css.
"Including CSS files" '(include-js "foo.css" "bar.css")
On Apr 14, 6:36 pm, Nicolas Buduroi <nbudu...@gmail.com> wrote:
> Hi, I've took a long break from web development in the past few months
> and needed a refresher on compojure.html/hiccup syntax. The source
> code is small enough to serve as documentation, but it's always nice
> to have a cheatsheet, so I've done one:
>
> http://compojure.googlegroups.com/web/hiccup_cheatsheet.html?gsc=eSFb...
Thanks, fixed now.
Anybody knows how to update uploaded files in Google Group?
If you don't mind, could I incorporate that into the Hiccup
documentation? :)
I'd also suggest adding an example that shows how seqs are expanded in
Hiccup. For example:
[:span (list "a" "b" "c")] => "<span>abc</span>"
- James
No problemo!
> I'd also suggest adding an example that shows how seqs are expanded in
> Hiccup. For example:
>
> [:span (list "a" "b" "c")] => "<span>abc</span>"
Done, I've included the demo and cheatsheet in my dev branch: