lodash.filter
Advanced tools
Comparing version
16
index.js
/** | ||
* Lo-Dash 2.2.1 (Custom Build) <http://lodash.com/> | ||
* Lo-Dash 2.3.0 (Custom Build) <http://lodash.com/> | ||
* Build: `lodash modularize modern exports="npm" -o ./npm/` | ||
@@ -39,14 +39,14 @@ * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/> | ||
* | ||
* var food = [ | ||
* { 'name': 'apple', 'organic': false, 'type': 'fruit' }, | ||
* { 'name': 'carrot', 'organic': true, 'type': 'vegetable' } | ||
* var characters = [ | ||
* { 'name': 'barney', 'age': 36, 'blocked': false }, | ||
* { 'name': 'fred', 'age': 40, 'blocked': true } | ||
* ]; | ||
* | ||
* // using "_.pluck" callback shorthand | ||
* _.filter(food, 'organic'); | ||
* // => [{ 'name': 'carrot', 'organic': true, 'type': 'vegetable' }] | ||
* _.filter(characters, 'blocked'); | ||
* // => [{ 'name': 'fred', 'age': 40, 'blocked': true }] | ||
* | ||
* // using "_.where" callback shorthand | ||
* _.filter(food, { 'type': 'fruit' }); | ||
* // => [{ 'name': 'apple', 'organic': false, 'type': 'fruit' }] | ||
* _.filter(characters, { 'age': 36 }); | ||
* // => [{ 'name': 'barney', 'age': 36, 'blocked': false }] | ||
*/ | ||
@@ -53,0 +53,0 @@ function filter(collection, callback, thisArg) { |
{ | ||
"name": "lodash.filter", | ||
"version": "2.2.1", | ||
"version": "2.3.0", | ||
"description": "The Lo-Dash function `_.filter` as a Node.js module generated by lodash-cli.", | ||
@@ -11,3 +11,3 @@ "homepage": "http://lodash.com/custom-builds", | ||
"John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)", | ||
"Blaine Bublitz <blaine@iceddev.com> (http://iceddev.com/)", | ||
"Blaine Bublitz <blaine@iceddev.com> (http://www.iceddev.com/)", | ||
"Kit Cambridge <github@kitcambridge.be> (http://kitcambridge.be/)", | ||
@@ -19,5 +19,5 @@ "Mathias Bynens <mathias@qiwi.be> (http://mathiasbynens.be/)" | ||
"dependencies": { | ||
"lodash.createcallback": "~2.2.1", | ||
"lodash.forown": "~2.2.1" | ||
"lodash.createcallback": "~2.3.0", | ||
"lodash.forown": "~2.3.0" | ||
} | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
# lodash.filter v2.2.1 | ||
# lodash.filter v2.3.0 | ||
@@ -7,3 +7,3 @@ The [Lo-Dash](http://lodash.com/) function [`_.filter`](http://lodash.com/docs#filter) as a [Node.js](http://nodejs.org/) module generated by [lodash-cli](https://npmjs.org/package/lodash-cli). | ||
| [](http://twitter.com/jdalton "Follow @jdalton on Twitter") | | ||
| [](https://twitter.com/jdalton "Follow @jdalton on Twitter") | | ||
|---| | ||
@@ -14,4 +14,4 @@ | [John-David Dalton](http://allyoucanleet.com/) | | ||
| [](http://twitter.com/blainebublitz "Follow @BlaineBublitz on Twitter") | [](https://twitter.com/kitcambridge "Follow @kitcambridge on Twitter") | [](http://twitter.com/mathias "Follow @mathias on Twitter") | | ||
| [](https://twitter.com/blainebublitz "Follow @BlaineBublitz on Twitter") | [](https://twitter.com/kitcambridge "Follow @kitcambridge on Twitter") | [](https://twitter.com/mathias "Follow @mathias on Twitter") | | ||
|---|---|---| | ||
| [Blaine Bublitz](http://iceddev.com/) | [Kit Cambridge](http://kitcambridge.github.io/) | [Mathias Bynens](http://mathiasbynens.be/) | | ||
| [Blaine Bublitz](http://www.iceddev.com/) | [Kit Cambridge](http://kitcambridge.be/) | [Mathias Bynens](http://mathiasbynens.be/) | |
5959
-0.32%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated
Updated