Bump to v3.7.0.

This commit is contained in:
jdalton
2015-04-15 21:06:16 -07:00
parent d58549ce0b
commit 863bb301bb
120 changed files with 1653 additions and 812 deletions

View File

@@ -1,4 +1,5 @@
var isLength = require('../internal/isLength'),
var getLength = require('../internal/getLength'),
isLength = require('../internal/isLength'),
keys = require('../object/keys');
/**
@@ -22,7 +23,7 @@ var isLength = require('../internal/isLength'),
* // => 7
*/
function size(collection) {
var length = collection ? collection.length : 0;
var length = collection ? getLength(collection) : 0;
return isLength(length) ? length : keys(collection).length;
}