Matt: I would guess that that's because you have the beta installed, so 2.2.24 is technically older than your most recent Haml gem.
Lorin: .foo & .bar is still allowed, yes. The change just requires that & be in the same position as element names and *. The reason is that we need to be able to fully parse selectors in order to support @extend in Sass 3, and this helps us avoid a lot of tricky edge cases in doing so. On Wed, Apr 28, 2010 at 7:12 AM, Lorin Tackett <[email protected]>wrote: > Nathan- > > I'm assuming something like .foo & .bar is still kosher, so long as the > space is there before the parent chain reference, yes? > > Also, why the change? I'm not confronting and it doesn't affect me, I'm > just curious. I probably missed the discussion about this, so a link would > be fine. > > -LT > > On Apr 27, 2010, at 8:30 PM, Nathan Weizenbaum wrote: > > Hi folks, > > I just pushed out Haml/Sass 2.2.24. This release mostly fixes some Rails 3 > beta bugs, but there is one new deprecation. Parent references may only be > placed at the beginning of simple selector sequences in Sass 3 (&.foo or > .foo & are okay, but .foo& is not), so there's a deprecation warning for it > being elsewhere. > > As always, the changelogs are available at > http://haml-lang.com/docs/yardoc/HAML_CHANGELOG.md.html and > http://sass-lang.com/docs/yardoc/file.SASS_CHANGELOG.html > > Enjoy! > - Nathan > > -- > 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. > > > -- > 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.
