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

Open
howardzhang opened this Issue Mar 31, 2012 · 3 comments

Comments

Projects
None yet
3 participants
@howardzhang

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

This comment has been minimized.

Show comment Hide comment
@hf

hf 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('...').

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

This comment has been minimized.

Show comment Hide comment
@victormartins

victormartins Apr 21, 2012

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

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

@victormartins

This comment has been minimized.

Show comment Hide comment
@victormartins

victormartins Apr 21, 2012

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.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment