Comparing version 0.2.1 to 0.2.2
{ | ||
"name": "labs-core", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Core classes to Labs : expression, dimensions, multipliers, et cetera.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -19,2 +19,15 @@ const _ = require('lodash'); | ||
module.exports = { build }; | ||
const remove = function(arr) { | ||
let what, a = arguments, | ||
L = a.length, | ||
ax; | ||
while (L > 1 && arr.length) { | ||
what = a[--L]; | ||
while ((ax = arr.indexOf(what)) !== -1) { | ||
arr.splice(ax, 1); | ||
} | ||
} | ||
return arr; | ||
}; | ||
module.exports = { build, remove }; |
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
28746
691