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

wrong number of arguments (1 for 0) for 'e' #10

Open
howardzhang opened this issue Mar 31, 2012 · 4 comments
Open

wrong number of arguments (1 for 0) for 'e' #10

howardzhang opened this issue Mar 31, 2012 · 4 comments

Comments

@howardzhang
Copy link

I am using Rails 3.1.3 and compass' version is 0.12.1,compass-bootstrap's version is 0.1.3.When I run "assets:precompile" it throw a Syntax Error out.
wrong number of arguments (1 for 0) for 'e'
in _patterns.scss
transition(e('opacity .3s linear, top .3s ease-out')

@hf
Copy link

hf commented Apr 1, 2012

I am assuming the e-function is a typo left from the LESS "e" function.

The e function in Compass is without arguments and returns the mathematical E constant (Euler's number). In LESS it "escapes" the string as an argument. This is very similar to the SASS "unquote" function, so I am guessing that you need to change e('...') to unquote('...').

@victormartins
Copy link

I was just having the same problem. change e to unquote solved the problem.

@victormartins
Copy link

I think this may be a better patch.
vwall/compass-twitter-bootstrap@c4155a3

I'm trying to decide between compass-bootstrap or compass-twitter-bootstrap and its hard.

@montaserfzy
Copy link

the same issue

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

4 participants