zurb/foundation — pull request #2984 by rvinay88 (2013-08-08 20:38:55+00:00)
Title: Pimping up emCalc() again

closes https://github.com/zurb/foundation/issues/2954
enhances https://github.com/zurb/foundation/issues/2615

emCalc() takes 2 parameters
1. Space delimited list (cannot be comma delimited anymore)
2. Optional base value to calculate em. Defaults to ````$em-base````

emCalc syntax is now more similar to css

````css
margin: 10px 20px 30px 40px;
````

````scss
margin: emCalc(10px 20px 30px 40px);
````

We do not support comma seperated values for the primary property anymore.
Using a comma, will denote the new optional base value on which the em's will be calculated

````scss
margin: emCalc(10px, 20px, 30px, 40px, 20px);
````
- May or may not mention px
- More than 2 comma separated values will throw an error as follows

````Function emCalc() takes 2 arguments but three were passed````

Edited documentation, edited all scss files to remove the commas, edited all code in documentation to remove the commas. Please merge.

@chrisnicola, @MrOrz, @MekZii, @hatefulcrawdad For your joy