Theoretically, it would be possible. We're thinking of adding support 
for functions in SassScript for version 2.0, and this could be done as 
one of those. We could do something like

  background-image= image(background.jpg)

which would produce

  background-image: url(../images/background.jpg?1234567);

in development and

  background-image: url(../images/background.jpg);

in production. Anyone else have any thoughts?

- Nathan

Sean, Tan Li Yang wrote:
> Hi,
>
> I'm not sure whether this has been covered before, but I'm wondering 
> whether we can make SASS support AssetTagHelper. In my case, I needed
>
>     background-image: url(../images/background.jpg);
>
> to become
>
>     background-image: url(../images/background.jpg?1234567);
>
> Is there a way to do that in SASS, if not I guess I have to fall back 
> on generating the css using rhtml.
>
> Thanks for your help in advance!
>
> Sean
>
> >



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