Skip to content

Comment on Haml Sucks for Contentparent

Comments

You can do it this way:

    .button#save{positive, style(:save), etc}
Where "positive", "style", and "etc" are functions returning Hash. I don't bother, and put most of that stuff in jQ.
AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.