Sass mixin not compiling?
Posted
by corroded
on Stack Overflow
See other posts from Stack Overflow
or by corroded
Published on 2010-05-25T12:46:34Z
Indexed on
2010/05/25
12:51 UTC
Read the original article
Hit count: 307
I have previously made a mixin in sass 2.2.22 for my font sizes(it's a font converter), like so:
=6.5pts
:font
:size 9px
It has been working ever since i first made it a year ago. We just upgraded to haml/sass 3 and now whenever I try to refresh the page im working on, a sass compile error appears like so:
I don't get it since Sass 3 documentation says that the = declaration for mixins is NOT deprecated. I tried uninstalling haml 3.0, restarted my server and deleted the generated css file and now it apparently works. Problem is, I need haml 3 for another related project where we just started using Compass.
Why is the compiler complaining when the documentation claims the declaration is not deprecated?
© Stack Overflow or respective owner