initial commit
This commit is contained in:
18
node_modules/postcss-minify-font-values/dist/lib/uniqs.js
generated
vendored
Normal file
18
node_modules/postcss-minify-font-values/dist/lib/uniqs.js
generated
vendored
Normal 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"];
|
||||
Reference in New Issue
Block a user