Bump to v3.1.0.

This commit is contained in:
jdalton
2015-02-03 22:31:07 -08:00
parent bbec03c4d5
commit 9e749daefa
21 changed files with 127 additions and 66 deletions

View File

@@ -1,5 +1,5 @@
var filter = require('./filter'),
matches = require('../utility/matches');
var baseMatches = require('../internal/baseMatches'),
filter = require('./filter');
/**
* Performs a deep comparison between each element in `collection` and the
@@ -29,7 +29,7 @@ var filter = require('./filter'),
* // => ['barney', 'fred']
*/
function where(collection, source) {
return filter(collection, matches(source));
return filter(collection, baseMatches(source));
}
module.exports = where;