flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
18
BACK_BACK/node_modules/postcss-minify-font-values/dist/lib/uniqs.js
generated
vendored
Executable file
18
BACK_BACK/node_modules/postcss-minify-font-values/dist/lib/uniqs.js
generated
vendored
Executable file
|
|
@ -0,0 +1,18 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = uniqueExcept;
|
||||
function uniqueExcept(exclude) {
|
||||
return function unique() {
|
||||
const list = Array.prototype.concat.apply([], arguments);
|
||||
return list.filter((item, i) => {
|
||||
if (item.toLowerCase() === exclude) {
|
||||
return true;
|
||||
}
|
||||
return i === list.indexOf(item);
|
||||
});
|
||||
};
|
||||
};
|
||||
module.exports = exports["default"];
|
||||
Loading…
Add table
Add a link
Reference in a new issue