Update vendors.

Former-commit-id: e109c9ffd436610d066493b07bd38293e1ec01a7
This commit is contained in:
John-David Dalton
2012-11-19 20:54:23 -08:00
parent 4a99c2e928
commit 2639cc6138
6 changed files with 45 additions and 5 deletions

View File

@@ -316,7 +316,7 @@
// An internal function used for aggregate "group by" operations.
var group = function(obj, value, context, behavior) {
var result = {};
var iterator = lookupIterator(value);
var iterator = lookupIterator(value || _.identity);
each(obj, function(value, index) {
var key = iterator.call(context, value, index, obj);
behavior(result, key, value);