I am always spending a lot of cycles in my brain figuring out how JS
can be cleaned up an integrated into the Haml-world.

Sass *might* oneday get something like filters in Haml. And that would
be a way to write a plugin to integrate.

-hampton.

On 3/19/07, IvanK <[EMAIL PROTECTED]> wrote:
>
> Now, I know this is a little bit far fetched, and will not go well
> with the "cleanness" of sass, but I had to work with a project that
> demanded rounded corners, and we had to make them with javascript. So
> I thought "wouldn't it be great if sass did that automatically for
> me?" Imagine the scenario - I write in the sass something like this:
>
> .content
>  :behaviour round
>
> and sass would create a special css_behaviour.js file, in which it'll
> do something along the lines of $$('.content').each(function(e)
> {e.round()})
>
> And even better, I could write CSS3 stuff in the sass file, and in the
> "round()" or whatever function, I'll do a browser check, and apply
> only to the brwosers that don't support the rule, so I'd have a
> gracefull fallback...
>
> It's just a thought
>
>
> >
>

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