cloudhead/less.js — pull request #786 by mishunov (2012-04-26 21:52:34+00:00)
Title: If weight is not passed to mix() asume it's 50

Currently http://lesscss.org/ doesn't mention required `weight` argument that has to be passed to **mix()**. If one doesn't pass it, the

```
var p = weight.value / 100.0;
```

line, obviously, raises the `Cannot read property 'value' of undefined` error.

I would propose to leave `weight` (that should be mentioned on the site no matter what) as an optional argument. The pull request contains tests and fix for the case when `weight` is not provided.