(Sorry it took me a while to respond.)

I can do that. But, that crashes when I pass that list into another
crate/html function.

I think I'll write a patch for this.

On Sun, Jun 10, 2012 at 12:44 AM, Dave Sann <daves...@gmail.com> wrote:

> probably something like:
>
> (map crate/html (list [:div.class1] [:div.class2]))
>
> untested.
>
> If you want to modify the dom in the process - then you could use doseq.
>
> D
>
>
>
>
> On Sunday, 10 June 2012 13:54:28 UTC+10, Sean Neilan wrote:
>>
>> Hey All,
>>
>> I was wondering if anybody has a work-around for doing a list of tags
>> like this:
>> (crate/html (list [:div.class1] [:div.class2]))
>>
>> Because it causes the browser repl to hang up & gives
>> Uncaught [:div.class1] is not a valid tag name.
>>
>> If I have a single div as the root, it works just fine.
>>
>> -Sean
>>
>>  --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to