array-includes
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -0,1 +1,5 @@ | ||
1.0.2 / 2015-01-05 | ||
================= | ||
* Ensure tests are includes in the module on `npm` | ||
1.0.1 / 2015-01-04 | ||
@@ -2,0 +6,0 @@ ================= |
17
index.js
@@ -64,11 +64,12 @@ 'use strict'; | ||
}; | ||
boundIncludesShim.method = includesShim; | ||
define(boundIncludesShim, { | ||
method: includesShim, | ||
shim: function shimArrayPrototypeIncludes() { | ||
define(Array.prototype, { | ||
includes: includesShim | ||
}); | ||
return Array.prototype.includes || includesShim; | ||
} | ||
}); | ||
boundIncludesShim.shim = function shimArrayPrototypeIncludes() { | ||
define(Array.prototype, { | ||
includes: includesShim | ||
}); | ||
return Array.prototype.includes || includesShim; | ||
}; | ||
module.exports = boundIncludesShim; |
{ | ||
"name": "array-includes", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"author": "Jordan Harband", | ||
@@ -5,0 +5,0 @@ "description": "A spec-compliant `Array.prototype.includes` shim/polyfill/replacement that works as far down as ES3.", |
Sorry, the diff of this file is not supported yet
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
19122
13
191