innovationDriveApp/node_modules/cssnano/dist/lib/getMatch.js
2018-07-08 19:21:40 +10:00

14 lines
No EOL
385 B
JavaScript

"use strict";
exports.__esModule = true;
exports.default = getMatchFactory;
function getMatchFactory(mappings) {
return function getMatch(args) {
return args.reduce(function (list, arg, i) {
return list.filter(function (keyword) {
return keyword[1][i] === arg;
});
}, mappings);
};
}
module.exports = exports["default"];