at-import / SassyLists

MIT License
276 stars 27 forks source link

`compact()` breaks Compass #23

Closed lolmaus closed 10 years ago

lolmaus commented 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.

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.

KittyGiraudel commented 10 years ago

Okay, I'll remove the compact alias for purge. I suggest you use purge instead.

KittyGiraudel commented 10 years ago

Moved to 0.4.9.

lolmaus commented 10 years ago

Thank you @HugoGiraudel for fixing this so quickly.

It was an alias function, huh... I hope few people used it.