documentcloud/underscore — pull request #710 by raphaeleidus (2012-08-21 18:16:53+00:00)
Title: Handle undefined input into _.defaults

I ran into a case where I was doing this:
```
var foo = function(options) {
_.defaults(options, {bar: "bar"});
}
```
but I wanted `options` to be completely optional so it could be called as `foo()`
to do this I needed to change the function to
```
var foo = function(options) {
options = options || {};
_.defaults(options, {bar: "bar"});
}
```
This pull request fixes that so the options past into `_.defaults` can be `undefined` and it will return a filled object with all the defaults.