All the deprecations are just that: deprecations. The old versions print warnings, but they still work. I think this is the best way to go: allow people to use their existing stylesheets and upgrade gradually if they want.
On Tue, May 4, 2010 at 2:05 PM, Richard Aday <[email protected]> wrote: > Migrating to sass 3 already requires some deprecation work (migrate from ! > to $, etc). Might as well remove backwards-compatibility for = and force > the upgrade as well. > > Just an idea. > > On Tue, May 4, 2010 at 1:40 PM, Nathan Weizenbaum <[email protected]>wrote: > >> This is indeed a bug. Although properties and variables should be >> converted to :, we want to preserve backwards-compatibility with =. I've >> just pushed a fix. >> >> >> On Tue, May 4, 2010 at 11:00 AM, Richard Livsey <[email protected]> wrote: >> >>> I ran everything through sass-convert to get everything to the new >>> style and that seems to have fixed it. >>> >>> $ sass-convert --from sass --to sass --in-place --recursive public/sass >>> >>> Thanks. >>> >>> On Tue, May 4, 2010 at 6:14 PM, Chris Eppstein <[email protected]> >>> wrote: >>> > This looks like a bug. >>> > >>> > As a workaround, try changing = to : >>> > >>> > The = operator has different semantics for quoted strings for backwards >>> > compatibilty. >>> > >>> > Hunt & pecked on my iPhone... Sorry if it's brief! >>> > >>> > On May 4, 2010, at 10:00 AM, Richard Livsey <[email protected]> wrote: >>> > >>> >> Prior to upgrading to the latest (master) version of HAML, I had the >>> >> following setup: >>> >> !standard_font = "Lucida Grande", Tahoma, Arial, sans-serif >>> >> >>> >> This was then used in various places as: >>> >> font-famly= !standard_font >>> >> >>> >> This all worked fine and output as expected as: >>> >> font-family: "Lucida Grande", Tahoma, Arial, sans-serif; >>> >> >>> >> However after upgrading I'm now getting this output as the following: >>> >> font-family: unquote("Lucida Grande"), Tahoma, Arial, sans-serif; >>> >> >>> >> After a few experiments, the quoting behaviour seems to differ when >>> >> there's more than one font in the list and I can't find any way to get >>> >> the effect I desire. >>> >> >>> >> >>> >> SASS: >>> >> .inline >>> >> font-family: "Lucida Grande" >>> >> >>> >> CSS: >>> >> .inline { font-family: "Lucida Grande"; } >>> >> >>> >> >>> >> SASS: >>> >> !array_of_fonts= "Lucida Grande", '"Arial"', Testing >>> >> .array >>> >> font-family= !array_of_fonts >>> >> >>> >> CSS: >>> >> .array { font-family: unquote("Lucida Grande"), unquote('"Arial"'), >>> >> Testing; } >>> >> >>> >> >>> >> SASS: >>> >> !one_quoted_font= '"Lucida Grande"' >>> >> .one >>> >> font-family= !one_quoted_font >>> >> >>> >> CSS: >>> >> .one { font-family: "Lucida Grande"; } >>> >> >>> >> >>> >> Is this a known issue? >>> >> >>> >> Thanks >>> >>> -- >>> 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] <haml%[email protected]>. >>> For more options, visit this group at >>> http://groups.google.com/group/haml?hl=en. >>> >>> >> -- >> 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] <haml%[email protected]>. >> For more options, visit this group at >> http://groups.google.com/group/haml?hl=en. >> > > > > -- > -Richard Aday > > -- > 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] <haml%[email protected]>. > For more options, visit this group at > http://groups.google.com/group/haml?hl=en. > -- 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.
