I've found what seems to be a bug in Sass, but I may be misunderstanding how the library handles expression execution.
@media screen $link_color: blue @media print $link_color: pink a:link color: $link_color The link color will always be pink, because both variable assignments are carried out regardless of the media. Is this expected? Shouldn't the assignments be lazy and not available if we don't enter the correct media block? Thanks, David -- 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.
