compass-bootstrap
compass-bootstrap copied to clipboard
wrong number of arguments (1 for 0) for 'e'
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')
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('...').
I was just having the same problem. change e to unquote solved the problem.
I think this may be a better patch. https://github.com/vwall/compass-twitter-bootstrap/commit/c4155a3a732d6d3ee6b2d684d16049775f0bba63
I'm trying to decide between compass-bootstrap or compass-twitter-bootstrap and its hard.
the same issue