On 8/6/07, Hampton <[EMAIL PROTECTED]> wrote:
> So, in the first example... why would a class not work? That seems
> like major id abuse.

Because it's the simplest solution for a common problem. It's also
very commonly used.

There was a post on the Rails Way blog (including a lively discussion)
talking about this:
http://www.therailsway.com/2007/6/28/free-for-all-tab-helper-summary

I've attached a small patch that preprocesses the input template and
replaces comma-newlines with comma-space prior to Sass parsing.

--max

>
> -hampton.
>
> On 8/5/07, Mislav Marohnić <[EMAIL PROTECTED]> wrote:
> > On 8/6/07, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote:
> > >
> > > I may be totally wrong, though, so I'll take an informal poll. Hamlites,
> > > how often do you feel the need to have multiline selectors? In what
> > > situations?
> >
> > In CSS reset stylesheets. Those (selectors) get real big real quick.
> >
> > > I'm open to adding support for this if it would really be useful, but I
> > > have a hunch that this is one of those cases where it's better to make
> > > it more awkward so people are discouraged from doing it in the first
> > place.
> >
> > Maybe you're right here. I also like the idea of encouraging people of
> > better structure design than to support walking on stray paths.
> >
> >
> >  >
> >
>
> >
>


-- 
max
http://synaphy.com/blog
http://whatsnextapp.com

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Attachment: comma_newline.diff
Description: Binary data

Reply via email to