Closed lolmaus closed 10 years ago
I've been receiving a nasty error:
Function compact takes 1 argument but 10 were passed.
Took me a while to figure this out.
Function compact(), used in SassyLists, overrides a Compass function with the same name.
compact()
When you import SassyLists and then try to use Compass' transition() (and a number of other helpers), you receive the aforementioned error.
transition()
SassyLists' compact() is an internal function, so it should be safe to rename it.
Okay, I'll remove the compact alias for purge. I suggest you use purge instead.
compact
purge
Moved to 0.4.9.
Thank you @HugoGiraudel for fixing this so quickly.
It was an alias function, huh... I hope few people used it.
I've been receiving a nasty error:
Took me a while to figure this out.
Function
compact()
, used in SassyLists, overrides a Compass function with the same name.When you import SassyLists and then try to use Compass'
transition()
(and a number of other helpers), you receive the aforementioned error.SassyLists'
compact()
is an internal function, so it should be safe to rename it.