Hi,

I was trying to switch our Sass2 project to Sass3 and there is the
first conversion bug that I encounter.
"sass-convert" seem to be unable to convert pseudo selector (the one
with the ":") properly

e.g.

=zebra-strip(!even, !odd = "transparent")
    :nth-child(even)
        :background-color = !even
    :nth-child(odd)
        :background-color = !odd
    .even
        :background-color = !even
    .odd
        :background-color = !odd

converts to

@mixin zebra-strip($even, $odd: transparent) {
    nth-child(even) { background-color: $even; }
    nth-child(odd) { background-color: $odd; }
    .even { background-color: $even; }
    .odd { background-color: $odd; }
}

I had to manually fix the ":" there

Regards,
Brajeshwar
_____________________

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