#foo and .foo on their own are very reminiscent of CSS, whereas just 
seeing brackets seems sort of out-of-place to me. So I think requiring 
an explicit div here is the right thing to do.

Evgeny wrote:
> I just noticed that the [ ] notation does not assume the default %div 
> tag like #id and .class do.
>
> So when I expected this to work :
>   [...@product]= "This div had the products class and object id of the 
> product"
>
> It only works when I explicitly tell it to be a %div, like so:
>   %d...@product]= "This div had the products class and object id of 
> the product"
>
>
> Is there any reason why it should not "just work" with the default?
>
>
> - evgeny
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to