array-filter
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -13,3 +13,3 @@ | ||
module.exports = function (arr, fn, self) { | ||
if (arr.filter) return arr.filter(fn); | ||
if (arr.filter) return arr.filter(fn, self); | ||
if (void 0 === arr || null === arr) throw new TypeError; | ||
@@ -16,0 +16,0 @@ if ('function' != typeof fn) throw new TypeError; |
{ | ||
"name": "array-filter", | ||
"description": "Array#filter for older browsers.", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"repository": { | ||
@@ -48,2 +48,1 @@ "type": "git", | ||
} | ||
@@ -6,6 +6,7 @@ | ||
[![build status](https://secure.travis-ci.org/juliangruber/array-filter.png)](http://travis-ci.org/juliangruber/array-filter) | ||
[![downloads](https://img.shields.io/npm/dm/array-filter.svg)](https://www.npmjs.org/package/array-filter) | ||
[![testling badge](https://ci.testling.com/juliangruber/array-filter.png)](https://ci.testling.com/juliangruber/array-filter) | ||
[![build status](https://secure.travis-ci.org/juliangruber/array-filter.png)](http://travis-ci.org/juliangruber/array-filter) | ||
## Usage | ||
@@ -12,0 +13,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5579
11
102
68