I nabbed a fresh copy from git earlier this morning; 2.1.0
On Sep 25, 2008, at 10:36 AM, Nathan Weizenbaum wrote:
>
> What version of Sass are you using? Calling an undefined function in
> SassScript should compile to a CSS type wrapper.
>
> Lorin Tackett wrote:
>> Thanks, worked great... don't tell Nathan...
>>
>>> _>
>>
>> <_<
>>
>> On Sep 25, 2008, at 9:54 AM, Chris Eppstein wrote:
>>
>>
>>> You can work around this issue like so:
>>>
>>> :background
>>> :image= "url(" + !url + ")"
>>>
>>> Nathan might even claim that's not a work-around. ;)
>>>
>>> -chris
>>>
>>> On Sep 25, 9:24 am, Lorin Tackett <[EMAIL PROTECTED]> wrote:
>>>
>>>> I also can't quick fix it by doing something like
>>>>
>>>> :background
>>>> :image= !url
>>>>
>>>> and then calling the mixin like:
>>>>
>>>> +image-replacement(24px,50px,url('../images.blah.png'))
>>>>
>>>> On Sep 25, 9:11 am, Lorin Takett <[EMAIL PROTECTED]> wrote:
>>>>
>>>>
>>>>> I'm doing a mixin like:
>>>>>
>>>>> =image-replacement(!height, !width, !url)
>>>>> :display block
>>>>> :height= !height
>>>>> :width= !width
>>>>> :background
>>>>> :image= url('!url')
>>>>> :repeat no-repeat
>>>>>
>>>>> .. so as to simplify image replacement, but SASS thinks !url is
>>>>> invalid arithmetic due to the perens.
>>>>>
>>
>>
>>>
>>
>>
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---