Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gradient helper prevents having a 'top()' mixin #56

Open
ianstormtaylor opened this issue Jan 12, 2012 · 1 comment
Open

Gradient helper prevents having a 'top()' mixin #56

ianstormtaylor opened this issue Jan 12, 2012 · 1 comment

Comments

@ianstormtaylor
Copy link
Contributor

I get this error when trying to declare a mixing with a name of top()

TypeError: expected string, ident or literal, but got function:top()

and declaring a gradient using a string doesn't work either linear-gradient('top', ...

Not sure if there is a solution that keeps both of the functions around...

@tj
Copy link
Collaborator

tj commented Jan 12, 2012

we could probably also check for a function of the same name just in case, shouldn't hurt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants